Skip to content
Snippets Groups Projects
Commit e4960a1f authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Make profile key a global handle.

parent 7ee3435d
No related branches found
No related tags found
No related merge requests found
...@@ -973,6 +973,7 @@ int PROFILE_LoadWineIni(void) ...@@ -973,6 +973,7 @@ int PROFILE_LoadWineIni(void)
ERR("Cannot create config registry key\n" ); ERR("Cannot create config registry key\n" );
return 0; return 0;
} }
wine_profile_key = ConvertToGlobalHandle( wine_profile_key );
InitializeCriticalSection( &PROFILE_CritSect ); InitializeCriticalSection( &PROFILE_CritSect );
MakeCriticalSectionGlobal( &PROFILE_CritSect ); MakeCriticalSectionGlobal( &PROFILE_CritSect );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment