FileSystem: Fix while termination condition

This commit is contained in:
ReinUsesLisp 2018-02-22 04:37:23 -03:00
parent 183ebbed65
commit b02224206e

View file

@ -508,7 +508,7 @@ findFontsFolderCB(void *data, const char *, const char *fname)
char buffer[512];
const char *s = fname;
while (s && i < sizeof(buffer))
while (*s && i < sizeof(buffer))
buffer[i++] = tolower(*s++);
buffer[i] = '\0';