[imagehlp] Fixed typo (Coverity CID-8)

Paul Vriens Paul.Vriens at xs4all.nl
Fri Jun 23 06:02:56 CDT 2006


Hi,

typo that has been there since the function was fleshed out (end of
2000).
 
Coverity does generate some useful reports !

Changelog
  Fixed typo

Cheers,

Paul
---
diff --git a/dlls/imagehlp/modify.c b/dlls/imagehlp/modify.c
index 92b195d..ee21ddd 100644
--- a/dlls/imagehlp/modify.c
+++ b/dlls/imagehlp/modify.c
@@ -180,7 +180,7 @@ DWORD WINAPI MapFileAndCheckSumA(
 			      0,
 			      0,
 			      0);
-  if (hMapping == 0)
+  if (BaseAddress == 0)
   {
     CloseHandle(hMapping);
     CloseHandle(hFile);
-- 
1.4.0




More information about the wine-patches mailing list