FileSystem: Fix while termination condition
This commit is contained in:
parent
183ebbed65
commit
9f44ee5068
|
@ -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