Commit 13b0452c authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winedump: Fix MZ Header detection.

parent ba3f6be3
......@@ -1461,10 +1461,10 @@ enum FileSig get_kind_exec(void)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment