Make sure HKLM\Software\Wine\Wine is a non-volatile key.

This commit is contained in:
Alexandre Julliard 2000-04-13 16:10:20 +00:00
parent 0debf42208
commit 86ff8c0826

View file

@ -931,8 +931,8 @@ int PROFILE_LoadWineIni(void)
FILE *f;
HKEY hKeySW;
/* make sure HKLM\\Software exists as non-volatile key */
if (RegCreateKeyA( HKEY_LOCAL_MACHINE, "Software", &hKeySW ))
/* make sure HKLM\\Software\\Wine\\Wine exists as non-volatile key */
if (RegCreateKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine", &hKeySW ))
{
ERR("Cannot create config registry key\n" );
return 0;