Fixed search-and-replace fuckup (thanks, Brian!).
authorRyan C. Gordon <icculus@icculus.org>
Mon, 22 Dec 2003 17:12:00 +0000
changeset 615 53f0d8be2b39
parent 614 fa120459dcac
child 616 88c1135f5ddb
Fixed search-and-replace fuckup (thanks, Brian!).
platform/win32.c
--- a/platform/win32.c	Fri Dec 19 01:53:06 2003 +0000
+++ b/platform/win32.c	Mon Dec 22 17:12:00 2003 +0000
@@ -483,7 +483,7 @@
     dir = FindFirstFile(SearchPath, &ent);
     BAIL_IF_MACRO
     (
-        dir == PHYSFS_INVALID_HANDLE_VALUE,
+        dir == INVALID_HANDLE_VALUE,
         win32strerror(), NULL
     );
 
@@ -750,7 +750,7 @@
 
     BAIL_IF_MACRO
     (
-        fileHandle == PHYSFS_INVALID_HANDLE_VALUE,
+        fileHandle == INVALID_HANDLE_VALUE,
         win32strerror(), NULL
     );