From ffb2e6ca459ecb21bf034a43f338428f772a1cd7 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Dec 2003 17:12:00 +0000 Subject: [PATCH] Fixed search-and-replace fuckup (thanks, Brian!). --- platform/win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/win32.c b/platform/win32.c index 0cb0ff8..762054a 100644 --- a/platform/win32.c +++ b/platform/win32.c @@ -483,7 +483,7 @@ LinkedStringList *__PHYSFS_platformEnumerateFiles(const char *dirname, dir = FindFirstFile(SearchPath, &ent); BAIL_IF_MACRO ( - dir == PHYSFS_INVALID_HANDLE_VALUE, + dir == INVALID_HANDLE_VALUE, win32strerror(), NULL ); @@ -750,7 +750,7 @@ static void *doOpen(const char *fname, DWORD mode, DWORD creation, int rdonly) BAIL_IF_MACRO ( - fileHandle == PHYSFS_INVALID_HANDLE_VALUE, + fileHandle == INVALID_HANDLE_VALUE, win32strerror(), NULL );