From b613a105b6492b7c0ecf436414b9e63aa03ccad2 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 8 May 1999 09:51:47 +0000 Subject: [PATCH] Bugfix: all PE modules were marked 'internal'. --- loader/pe_image.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/pe_image.c b/loader/pe_image.c index ab2aa26b0d3..fc26c8aa399 100644 --- a/loader/pe_image.c +++ b/loader/pe_image.c @@ -841,7 +841,6 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err) HMODULE16 hModule16; NE_MODULE *pModule; WINE_MODREF *wm; - BOOL builtin = TRUE; char dllname[256], *p; HFILE hFile; @@ -879,7 +878,7 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err) pModule->module32 = hModule32; /* Create 32-bit MODREF */ - if ( !(wm = PE_CreateModule( hModule32, &ofs, flags, builtin )) ) + if ( !(wm = PE_CreateModule( hModule32, &ofs, flags, FALSE )) ) { ERR_(win32)("can't load %s\n",ofs.szPathName); FreeLibrary16( hModule16 );