Skip to content

Commit 39d6b16

Browse files
committed
Update Nanosvg to the most recent version.
This should fix a Nanosvg issue. Fix a typo in NEWS.md.
1 parent 2bd9dc2 commit 39d6b16

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Current development version
22

3-
- Remove the change label witdth popup menu (#1964)
3+
- Remove the change label width popup menu (#1964).
44
It was not working at all and caused crashes. And I think the
55
label width is not changed so often, so that a (working)
66
possibility in the configuration menu is enough.

src/nanoSVG/README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
These files are from https://github.com/memononen/nanosvg/
2-
(current commit: 93ce879dc4c04a3ef1758428ec80083c38610b1f)
2+
(current commit: ea6a6aca009422bba0dbad4c80df6e6ba0c82183)

src/nanoSVG/nanosvg.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ static unsigned int nsvg__parseColorRGB(const char* str)
12651265
while (*str && nsvg__isdigit(*str)) str++; // skip fractional part
12661266
}
12671267
if (*str == '%') str++; else break;
1268-
while (nsvg__isspace(*str)) str++;
1268+
while (*str && nsvg__isspace(*str)) str++;
12691269
if (*str == delimiter[i]) str++;
12701270
else break;
12711271
}

0 commit comments

Comments
 (0)