Fix for GetBinaryType to return SCS_DOS_BINARY if extended signature
is unknown.
This commit is contained in:
parent
237e8e95b0
commit
d14aea2c64
|
@ -573,9 +573,11 @@ static BOOL MODULE_GetBinaryType( HANDLE hfile, LPCSTR filename,
|
|||
}
|
||||
else
|
||||
{
|
||||
/* Unknown extended header, so abort.
|
||||
/* Unknown extended header, but this file is nonetheless
|
||||
DOS-executable.
|
||||
*/
|
||||
return FALSE;
|
||||
*lpBinaryType = SCS_DOS_BINARY;
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue