FileSystem: Fix while termination condition
This commit is contained in:
parent
a082074f16
commit
1b358a27a0
|
@ -508,7 +508,7 @@ findFontsFolderCB(void *data, const char *, const char *fname)
|
||||||
char buffer[512];
|
char buffer[512];
|
||||||
const char *s = fname;
|
const char *s = fname;
|
||||||
|
|
||||||
while (s && i < sizeof(buffer))
|
while (*s && i < sizeof(buffer))
|
||||||
buffer[i++] = tolower(*s++);
|
buffer[i++] = tolower(*s++);
|
||||||
|
|
||||||
buffer[i] = '\0';
|
buffer[i] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue