Make sure HKLM\Software\Wine\Wine is a non-volatile key.
This commit is contained in:
parent
0debf42208
commit
86ff8c0826
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue