Skip to content
Permalink
Browse files
Minor logic fix.
  • Loading branch information
icculus committed Mar 5, 2002
1 parent 401911a commit 4bb0fbe4e2a5580b6fc9079c4588ff879052b806
Showing with 1 addition and 1 deletion.
  1. +1 −1 platform/win32.c
@@ -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;

0 comments on commit 4bb0fbe

Please sign in to comment.