From b7157fa91fb15829e77a36a720986367b83f10c6 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 24 Jan 2025 07:02:40 +0100 Subject: nanosvg: update to ea6a6aca009422bba0dbad4c80df6e6ba0c82183 --- 3rd-party/nanosvg/src/nanosvg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rd-party/nanosvg/src/nanosvg.h') diff --git a/3rd-party/nanosvg/src/nanosvg.h b/3rd-party/nanosvg/src/nanosvg.h index 8e58b80..931f0ed 100644 --- a/3rd-party/nanosvg/src/nanosvg.h +++ b/3rd-party/nanosvg/src/nanosvg.h @@ -1265,7 +1265,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; } -- cgit v1.2.3