This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
nanovg
mirror of
https://github.com/VCVRack/nanovg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Fixed bug in fonsTextIterNext()
shared-context
Mikko Mononen
11 years ago
parent
1db6eec59a
commit
8d88a9b38e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/fontstash.h
+ 1
- 1
src/fontstash.h
View File
@@ -1303,7 +1303,7 @@ int fonsTextIterNext(struct FONScontext* stash, struct FONStextIter* iter, struc
unsigned int codepoint = 0;
const char* str = iter->str;
if (
*str == '\0'
)
if (
str == iter->end
)
return 0;
for (; str != iter->end; str++) {
Write
Preview
Loading…
Cancel
Save