Minor logic fix.

This commit is contained in:
Ryan C. Gordon 2002-03-05 19:28:02 +00:00
parent 401911aeb8
commit 4bb0fbe4e2
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ LinkedStringList *__PHYSFS_platformEnumerateFiles(const char *dirname,
dir = FindFirstFile(dirname, &ent);
BAIL_IF_MACRO(dir == INVALID_HANDLE_VALUE, win32strerror(), NULL);
for (; FindNextFile(dir, &ent) != 0; )
while (FindNextFile(dir, &ent) != 0)
{
if (strcmp(ent.cFileName, ".") == 0)
continue;