From 30d06da60a10d1012bc7c4e0bdc66a13994a6c29 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 11 Jul 2005 13:23:31 +0000 Subject: [PATCH] Also look for the plain module specification in WINEDLLOVERRIDES for modules that contain a path, for better consistency with the registry entries. --- dlls/ntdll/loadorder.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/ntdll/loadorder.c b/dlls/ntdll/loadorder.c index e62b9417204..8f4f15890e1 100644 --- a/dlls/ntdll/loadorder.c +++ b/dlls/ntdll/loadorder.c @@ -605,6 +605,14 @@ void MODULE_GetLoadOrderW( enum loadorder_type loadorder[], const WCHAR *app_nam } else /* module contains an explicit path */ { + /* then base name without '*' in environment */ + if (get_env_load_order( basename, loadorder )) + { + TRACE( "got environment basename %s for %s\n", + debugstr_loadorder(loadorder), debugstr_w(path) ); + goto done; + } + /* then base name without '*' in AppDefaults */ if (app_key && get_registry_value( app_key, basename, loadorder )) {