mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Correct search order in SearchPath for Win 3.1/95/98. Still broken for NT.
This commit is contained in:
parent
a27807dca8
commit
e40c9b0a94
1 changed files with 5 additions and 5 deletions
|
@ -577,16 +577,16 @@ DWORD DIR_SearchPath( LPCSTR path, LPCSTR name, LPCSTR ext,
|
|||
|
||||
if (DOSFS_GetFullName( name, TRUE, full_name )) goto done;
|
||||
|
||||
/* Try the Windows directory */
|
||||
|
||||
if (DIR_TryPath( &DIR_Windows, name, full_name ))
|
||||
goto done;
|
||||
|
||||
/* Try the Windows system directory */
|
||||
|
||||
if (DIR_TryPath( &DIR_System, name, full_name ))
|
||||
goto done;
|
||||
|
||||
/* Try the Windows directory */
|
||||
|
||||
if (DIR_TryPath( &DIR_Windows, name, full_name ))
|
||||
goto done;
|
||||
|
||||
/* Try the path of the current executable (for Win16 search order) */
|
||||
|
||||
if (!win32 && DIR_TryModulePath( name, full_name )) goto done;
|
||||
|
|
Loading…
Reference in a new issue