Skip to content

Commit

Permalink
Minor logic fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 5, 2002
1 parent 401911a commit 4bb0fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/win32.c
Expand Up @@ -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;
Expand Down

0 comments on commit 4bb0fbe

Please sign in to comment.