Fixed typo in HKEY_USERS/.Default creation.

This commit is contained in:
Alexandre Julliard 2001-01-25 21:48:24 +00:00
parent 09d64c83cf
commit 306fc9c475
1 changed files with 5 additions and 1 deletions

View File

@ -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);