Pass the correct hFile to PE_CreateModule.

oldstable
Uwe Bonnes 2000-10-19 22:27:23 +00:00 committed by Alexandre Julliard
parent 018c6545dc
commit 38012a5604
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags)
}
/* Create 32-bit MODREF */
if ( !(wm = PE_CreateModule( hModule32, name, flags, -1, FALSE )) )
if ( !(wm = PE_CreateModule( hModule32, name, flags, hFile, FALSE )) )
{
ERR( "can't load %s\n", name );
CloseHandle( hFile );