mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-28 01:10:55 +01:00
Main: Fixed a bug that crashed explorer at PC startup on OS builds 22621+
This commit is contained in:
parent
619d9caf21
commit
5ee6e3508d
@ -2583,7 +2583,7 @@ INT64 Shell_TrayWndSubclassProc(
|
||||
{
|
||||
g_bIsDesktopRaised = (lParam & 1) == 0;
|
||||
}
|
||||
else if (uMsg == WM_SETTINGCHANGE && IsWindows11Version22H2OrHigher() && !wcscmp(lParam, L"EnsureXAML"))
|
||||
else if (uMsg == WM_SETTINGCHANGE && IsWindows11Version22H2OrHigher() && (*((WORD*)&(lParam)+1)) && !wcscmp(lParam, L"EnsureXAML"))
|
||||
{
|
||||
EnsureXAML();
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user