Fixed typo in HKEY_USERS/.Default creation.
This commit is contained in:
parent
09d64c83cf
commit
306fc9c475
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue