mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 06:34:01 +00:00
svg_loader: image tag: fixed utf8 decode
Fixed svgUtilURLDecode function. Deleted snippet was not needed and it broken decoding when space.
This commit is contained in:
parent
8e1d8b0cb2
commit
30a3d442b9
1 changed files with 0 additions and 5 deletions
|
@ -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))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue