svg_loader: image tag: fixed utf8 decode
authorMichal Maciola <m.maciola@samsung.com>
Tue, 13 Jul 2021 09:26:15 +0000 (11:26 +0200)
committerHermet Park <chuneon.park@samsung.com>
Wed, 14 Jul 2021 05:59:59 +0000 (14:59 +0900)
Fixed svgUtilURLDecode function.
Deleted snippet was not needed and it broken decoding when space.

Change-Id: I1f14ff60c10f8c73006c7ab4fc6bf0b0f945d02e

src/loaders/svg/tvgSvgUtil.cpp

index 3db6098..b0f1d84 100644 (file)
@@ -271,11 +271,6 @@ string svgUtilURLDecode(const char *src)
 
     char a, b;
     while (*src) {
-        if (*src <= 0x20) {
-            ++src;
-            continue;
-        }
-
         if (*src == '%' &&
             ((a = src[1]) && (b = src[2])) &&
             (isxdigit(a) && isxdigit(b))) {