Commit 306fc9c4 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed typo in HKEY_USERS/.Default creation.

parent 09d64c83
......@@ -1554,7 +1554,11 @@ void SHELL_LoadRegistry( void )
if (!CLIENT_IsBootThread()) return; /* already loaded */
if (!RegCreateKeyA(HKEY_USERS,".Default",&hkey_users_default)) hkey_users_default = 0;
if (RegCreateKeyA(HKEY_USERS,".Default",&hkey_users_default))
{
ERR("Cannot create HKEY_USERS/.Default\n" );
ExitProcess(1);
}
_allocate_default_keys();
_set_registry_levels(0,0,0);
......
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