From 63f823157081c3efab5d71242b4b9f03b0c0033a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 21 Nov 2019 09:24:35 +0100 Subject: [PATCH] wineboot: Also set the Flags value under ProfileList. Signed-off-by: Alexandre Julliard --- programs/wineboot/wineboot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c index 9710b78ab7d..0a404c74a84 100644 --- a/programs/wineboot/wineboot.c +++ b/programs/wineboot/wineboot.c @@ -1204,9 +1204,10 @@ static void update_user_profile(void) if (!RegCreateKeyExW(hkey, sid, 0, NULL, 0, KEY_ALL_ACCESS, NULL, &profile_hkey, NULL)) { + DWORD flags = 0; if (SHGetSpecialFolderPathW(NULL, profile, CSIDL_PROFILE, TRUE)) set_reg_value(profile_hkey, profile_image_path, profile); - + RegSetValueExW( profile_hkey, L"Flags", 0, REG_DWORD, (const BYTE *)&flags, sizeof(flags) ); RegCloseKey(profile_hkey); }