Commit d14aea2c authored by Sergei Turchanov's avatar Sergei Turchanov Committed by Alexandre Julliard

Fix for GetBinaryType to return SCS_DOS_BINARY if extended signature

is unknown.
parent 237e8e95
......@@ -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;
}
}
}
......
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