FileSystem: Fix while termination condition

This commit is contained in:
Jonas Kulla 2018-01-22 10:54:21 +01:00
parent a082074f16
commit 1b358a27a0
1 changed files with 1 additions and 1 deletions

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';