Skip to content

Commit 9e4962a

Browse files
committed
[SHELL32] Set ShellState registry entry when default is needed
CORE-20585
1 parent 1e54a5c commit 9e4962a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dll/win32/shell32/wine/shellord.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,10 @@ VOID WINAPI SHGetSetSettings(LPSHELLSTATE lpss, DWORD dwMask, BOOL bSet)
379379
SHELL32_GetDefaultShellState(gpss);
380380
read = 0; // The advanced items we read are no longer valid in gpss
381381
g_CachedSSF = SSF_STRUCTONLY;
382+
/* HACKFIX: This should not be needed. Defaults should be used
383+
* until an override option is selected. See CORE-20585. */
384+
rss.ss = *gpss;
385+
SHELL32_WriteRegShellState(&rss);
382386
}
383387
}
384388
SHGSS_GetSetStruct(SHGSS_GetField); // Copy requested items from gpss to output

0 commit comments

Comments
 (0)