Also look for the plain module specification in WINEDLLOVERRIDES for

modules that contain a path, for better consistency with the registry
entries.
This commit is contained in:
Alexandre Julliard 2005-07-11 13:23:31 +00:00
parent c6f155a5fd
commit 30d06da60a
1 changed files with 8 additions and 0 deletions

View File

@ -605,6 +605,14 @@ void MODULE_GetLoadOrderW( enum loadorder_type loadorder[], const WCHAR *app_nam
} }
else /* module contains an explicit path */ 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 */ /* then base name without '*' in AppDefaults */
if (app_key && get_registry_value( app_key, basename, loadorder )) if (app_key && get_registry_value( app_key, basename, loadorder ))
{ {