Commit 7dcd343f authored by Juergen Lock's avatar Juergen Lock Committed by Alexandre Julliard

VERSION_GetSystemDLLVersion crashed when being called on a .so.

parent c96dcd77
......@@ -231,8 +231,8 @@ DWORD VERSION_GetLinkedDllVersion(PDB *pdb)
ophd->MajorImageVersion, ophd->MinorImageVersion,
ophd->MajorSubsystemVersion, ophd->MinorSubsystemVersion);
/* test if it a external dll */
if ( !(wm->flags & WINE_MODREF_INTERNAL) )
/* test if it is a external (native) dll */
if ( !(wm->flags & WINE_MODREF_INTERNAL) && wm->type==MODULE32_PE)
{
int i;
for (i = 0; special_dlls[i]; i++)
......
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