1
0
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:
Valentin Radu 2022-08-06 05:49:31 +03:00
parent 619d9caf21
commit 5ee6e3508d

View File

@ -2583,7 +2583,7 @@ INT64 Shell_TrayWndSubclassProc(
{ {
g_bIsDesktopRaised = (lParam & 1) == 0; 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(); EnsureXAML();
return 0; return 0;