commit | 13b0452c45f096649a4113bcc378b6111e1bc435 | [log] [tgz] |
---|---|---|
author | André Hentschel <nerv@dawncrow.de> | Tue Jan 11 20:29:43 2011 +0100 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed Jan 12 14:58:26 2011 +0100 |
tree | 222dcc8d18c1aec53e9bf60dbaddd03329c4909a | |
parent | ba3f6be371adf5ae9fe1f2dcc0085519a0f41261 [diff] |
winedump: Fix MZ Header detection.
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index 63001ed..c1f6eb8 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c
@@ -1461,10 +1461,10 @@ if (*pdw == IMAGE_NT_SIGNATURE) return SIG_PE; if (*(const WORD *)pdw == IMAGE_OS2_SIGNATURE) return SIG_NE; if (*(const WORD *)pdw == IMAGE_VXD_SIGNATURE) return SIG_LE; - return SIG_DOS; } + return SIG_DOS; } - return 0; + return SIG_UNKNOWN; } void pe_dump(void)