ntdll: Don't try to open the file in the prefix for 16-bit builtins.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7cea94349a
commit
277a5728da
|
@ -2730,6 +2730,12 @@ static NTSTATUS find_dll_file( const WCHAR *load_path, const WCHAR *libname, con
|
|||
status = STATUS_SUCCESS;
|
||||
goto done;
|
||||
}
|
||||
/* 16-bit files can't be loaded from the prefix */
|
||||
if (libname[0] && libname[1] && !wcscmp( libname + wcslen(libname) - 2, L"16" ))
|
||||
{
|
||||
status = find_builtin_without_file( libname, nt_name, pwm, mapping, image_info, id );
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue