imagehlp: Fixed typo (Coverity).

This commit is contained in:
Paul Vriens 2006-06-23 13:02:56 +02:00 committed by Alexandre Julliard
parent 86d4688171
commit 7c6febe6eb

View file

@ -180,7 +180,7 @@ DWORD WINAPI MapFileAndCheckSumA(
0,
0,
0);
if (hMapping == 0)
if (BaseAddress == 0)
{
CloseHandle(hMapping);
CloseHandle(hFile);