From 7dcd343fa83a33bd9c194b2ad25377eded21ffd3 Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sun, 13 Feb 2000 15:58:44 +0000 Subject: [PATCH] VERSION_GetSystemDLLVersion crashed when being called on a .so. --- misc/version.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/version.c b/misc/version.c index 1d9d80ed125..19851895a02 100644 --- a/misc/version.c +++ b/misc/version.c @@ -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++)