aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--3rd-party/nanosvg/src/nanosvg.h2
-rw-r--r--CHANGELOG.md2
2 files changed, 2 insertions, 2 deletions
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;
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7f40d42..591a41c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,7 @@
## Unreleased
### Added
-* Nanosvg updated to 93ce879dc4c04a3ef1758428ec80083c38610b1f
+* Nanosvg updated to ea6a6aca009422bba0dbad4c80df6e6ba0c82183
* JPEG XL support ([#14][14])
* Log output now respects the [`NO_COLOR`](http://no-color.org/)
environment variable.