1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-23 23:21:08 +01:00

Start10: Fixed a bug that prevented centering on Windows 10

This commit is contained in:
Valentin Radu 2023-08-23 03:47:01 -07:00
parent 53ff541d78
commit 275a91f0d9

View File

@ -11041,7 +11041,8 @@ void StartMenu_LoadSettings(BOOL bRestartIfChanged)
if (hKey)
{
dwSize = sizeof(DWORD);
dwVal = 0;
if (IsWindows11()) dwVal = 0;
else dwVal = 1;
RegQueryValueExW(
hKey,
TEXT("Start_ShowClassicMode"),