diff options
Diffstat (limited to 'PC/bdist_wininst/extract.c')
-rw-r--r-- | PC/bdist_wininst/extract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/bdist_wininst/extract.c b/PC/bdist_wininst/extract.c index c900f235fd..aec8eda2be 100644 --- a/PC/bdist_wininst/extract.c +++ b/PC/bdist_wininst/extract.c @@ -127,7 +127,7 @@ char *map_new_file(DWORD flags, char *filename, CloseHandle(hFile); - if (hFileMapping == INVALID_HANDLE_VALUE) { + if (hFileMapping == NULL) { if (notify) notify(SYSTEM_ERROR, "CreateFileMapping (%s)", filename); |