imagehlp: Use define instead of hardcoded value.

This commit is contained in:
André Hentschel 2011-01-10 19:20:15 +01:00 committed by Alexandre Julliard
parent 682dc4d6f8
commit 82efaae0a2
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ static int IMAGEHLP_GetNTHeaders(HANDLE handle, DWORD *pe_offset, IMAGE_NT_HEADE
return HDR_FAIL;
/* verify magic number of 'MZ' */
if (dos_hdr.e_magic != 0x5A4D)
if (dos_hdr.e_magic != IMAGE_DOS_SIGNATURE)
return HDR_FAIL;
if (pe_offset != NULL)