[imagehlp] Fixed typo (Coverity CID-9)

Paul Vriens Paul.Vriens at xs4all.nl
Mon Jun 26 08:30:06 CDT 2006


Hi,

same typo in MapFileAndCheckSumW as in MapFileAndCheckSumA.
 
Changelog
  Fixed typo

Cheers,

Paul
---
 dlls/imagehlp/modify.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/imagehlp/modify.c b/dlls/imagehlp/modify.c
index ee21ddd..035c6ef 100644
--- a/dlls/imagehlp/modify.c
+++ b/dlls/imagehlp/modify.c
@@ -246,7 +246,7 @@ DWORD WINAPI MapFileAndCheckSumW(
 			      0,
 			      0,
 			      0);
-  if (hMapping == 0)
+  if (BaseAddress == 0)
   {
     CloseHandle(hMapping);
     CloseHandle(hFile);
-- 
1.4.0




More information about the wine-patches mailing list