Skip to content

Commit

Permalink
nanosvg.h: update from mainstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Dec 21, 2024
1 parent e832856 commit bcc97c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nanosvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ static unsigned int nsvg__parseColorRGB(const char* str)
while (*str && nsvg__isdigit(*str)) str++; // skip fractional part
}
if (*str == '%') str++; else break;
while (nsvg__isspace(*str)) str++;
while (*str && nsvg__isspace(*str)) str++;
if (*str == delimiter[i]) str++;
else break;
}
Expand Down

0 comments on commit bcc97c0

Please sign in to comment.