Fix for GetBinaryType to return SCS_DOS_BINARY if extended signature

is unknown.
This commit is contained in:
Sergei Turchanov 1999-12-04 04:17:37 +00:00 committed by Alexandre Julliard
parent 237e8e95b0
commit d14aea2c64
1 changed files with 4 additions and 2 deletions

View File

@ -573,9 +573,11 @@ static BOOL MODULE_GetBinaryType( HANDLE hfile, LPCSTR filename,
} }
else else
{ {
/* Unknown extended header, so abort. /* Unknown extended header, but this file is nonetheless
DOS-executable.
*/ */
return FALSE; *lpBinaryType = SCS_DOS_BINARY;
return TRUE;
} }
} }
} }