Minor logic fix.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 05 Mar 2002 19:28:02 +0000
changeset 119 3ba614e99e70
parent 118 23c30915faea
child 120 375cea505a50
Minor logic fix.
platform/win32.c
--- a/platform/win32.c	Tue Mar 05 19:17:18 2002 +0000
+++ b/platform/win32.c	Tue Mar 05 19:28:02 2002 +0000
@@ -273,7 +273,7 @@
     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;