Commit 48dc3164 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Make WINEDLLOVERRIDES also match for *dll.

parent 07519aa1
...@@ -561,9 +561,17 @@ void MODULE_GetLoadOrderW( enum loadorder_type loadorder[], const WCHAR *app_nam ...@@ -561,9 +561,17 @@ void MODULE_GetLoadOrderW( enum loadorder_type loadorder[], const WCHAR *app_nam
goto done; goto done;
} }
/* then module basename preceded by '*' in AppDefaults */ /* then module basename preceded by '*' in environment */
basename = (WCHAR *)get_basename( module+1 ); basename = (WCHAR *)get_basename( module+1 );
basename[-1] = '*'; basename[-1] = '*';
if (get_env_load_order( basename-1, loadorder ))
{
TRACE( "got environment basename %s for %s\n",
debugstr_loadorder(loadorder), debugstr_w(path) );
goto done;
}
/* then module basename preceded by '*' in AppDefaults */
if (app_key && get_registry_value( app_key, basename-1, loadorder )) if (app_key && get_registry_value( app_key, basename-1, loadorder ))
{ {
TRACE( "got app defaults basename %s for %s\n", TRACE( "got app defaults basename %s for %s\n",
......
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