projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7690ad2
)
svg_loader util: fix missing quot
author
Michal Maciola
<m.maciola@samsung.com>
Thu, 14 Oct 2021 15:40:31 +0000
(17:40 +0200)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Fri, 15 Oct 2021 00:42:27 +0000
(09:42 +0900)
There was checking for 0 ('\0') that should be checking for '0'
src/loaders/svg/tvgSvgUtil.cpp
patch
|
blob
|
history
diff --git
a/src/loaders/svg/tvgSvgUtil.cpp
b/src/loaders/svg/tvgSvgUtil.cpp
index
a09d8b2
..
efa8d84
100644
(file)
--- a/
src/loaders/svg/tvgSvgUtil.cpp
+++ b/
src/loaders/svg/tvgSvgUtil.cpp
@@
-167,7
+167,7
@@
float svgUtilStrtof(const char *nPtr, char **endPtr)
unsigned int exponentPart = 0;
if (isdigit(*iter)) {
- while (*iter ==
0
) iter++;
+ while (*iter ==
'0'
) iter++;
for (; isdigit(*iter); iter++) {
exponentPart = exponentPart * 10U + static_cast<unsigned int>(*iter - '0');
}
@@
-276,4
+276,4
@@
string svgUtilBase64Decode(const char *src)
src += 4;
}
return decoded;
-}
\ No newline at end of file
+}