Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
authorGregor Schneider <grschneider@gmail.com>
Mon, 8 Dec 2008 17:02:19 +0000 (17:02 +0000)
committerGregor Schneider <grschneider@gmail.com>
Mon, 8 Dec 2008 17:02:19 +0000 (17:02 +0000)
svn path=/trunk/; revision=37941

reactos/dll/win32/imagehlp/modify.c

index 5f61c77..fc340a7 100644 (file)
@@ -1044,7 +1044,7 @@ DWORD IMAGEAPI MapFileAndCheckSumA(
                              0,
                              0,
                              0);
-  if (hMapping == 0)
+  if (BaseAddress == NULL)
   {
     CloseHandle(hMapping);
     CloseHandle(hFile);
@@ -1110,7 +1110,7 @@ DWORD IMAGEAPI MapFileAndCheckSumW(
                              0,
                              0,
                              0);
-  if (hMapping == 0)
+  if (BaseAddress == NULL)
   {
     CloseHandle(hMapping);
     CloseHandle(hFile);