Commit e40c9b0a authored by Guy Albertelli's avatar Guy Albertelli Committed by Alexandre Julliard

Correct search order in SearchPath for Win 3.1/95/98. Still broken for NT.

parent a27807dc
......@@ -577,14 +577,14 @@ DWORD DIR_SearchPath( LPCSTR path, LPCSTR name, LPCSTR ext,
if (DOSFS_GetFullName( name, TRUE, full_name )) goto done;
/* Try the Windows directory */
/* Try the Windows system directory */
if (DIR_TryPath( &DIR_Windows, name, full_name ))
if (DIR_TryPath( &DIR_System, name, full_name ))
goto done;
/* Try the Windows system directory */
/* Try the Windows directory */
if (DIR_TryPath( &DIR_System, name, full_name ))
if (DIR_TryPath( &DIR_Windows, name, full_name ))
goto done;
/* Try the path of the current executable (for Win16 search order) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment