mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
Made LoadHomeRegistryFiles default to TRUE.
This commit is contained in:
parent
feb94cbbcb
commit
31b9dab10b
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
||||||
* Time for RegEnumKey*, RegQueryInfoKey*
|
* Time for RegEnumKey*, RegQueryInfoKey*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -1983,7 +1985,7 @@ void SHELL_LoadRegistry( void )
|
||||||
*/
|
*/
|
||||||
if (!(home = getenv( "HOME" )))
|
if (!(home = getenv( "HOME" )))
|
||||||
WARN_(reg)("Failed to get homedirectory of UID %ld.\n",(long) getuid());
|
WARN_(reg)("Failed to get homedirectory of UID %ld.\n",(long) getuid());
|
||||||
else if (PROFILE_GetWineIniBool("registry", "LoadHomeRegistryFiles", 0))
|
else if (PROFILE_GetWineIniBool("registry", "LoadHomeRegistryFiles", 1))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Load user's personal versions of global HKU/.Default keys
|
* Load user's personal versions of global HKU/.Default keys
|
||||||
|
|
Loading…
Reference in a new issue