Paul Vriens : imagehlp: Fixed typo (Coverity).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 27 04:53:24 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 47c3663bec1211b7ec8b3d3a18061e6e789037a8
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=47c3663bec1211b7ec8b3d3a18061e6e789037a8

Author: Paul Vriens <Paul.Vriens at xs4all.nl>
Date:   Mon Jun 26 15:30:06 2006 +0200

imagehlp: Fixed typo (Coverity).

---

 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);




More information about the wine-cvs mailing list