VERSION_GetSystemDLLVersion crashed when being called on a .so.

This commit is contained in:
Juergen Lock 2000-02-13 15:58:44 +00:00 committed by Alexandre Julliard
parent c96dcd77f6
commit 7dcd343fa8
1 changed files with 2 additions and 2 deletions

View File

@ -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++)