summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/win32.c')
-rw-r--r--loader/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c
index f8e589be68..61ca3ef18f 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -3308,7 +3308,7 @@ static HANDLE WINAPI expFindFirstFileA(LPCSTR s, LPWIN32_FIND_DATAA lpfd)
dbgprintf("FindFirstFileA(0x%x='%s', 0x%x) => 0\n", s, s, lpfd);
strcpy(lpfd->cFileName, "msms001.vwp");
strcpy(lpfd->cAlternateFileName, "msms001.vwp");
- return (HANDLE)-1;
+ return (HANDLE)0;
}
static WIN_BOOL WINAPI expFindClose(HANDLE h)