Skip to content

Commit

Permalink
Start10: Fixed a bug that prevented centering on Windows 10
Browse files Browse the repository at this point in the history
  • Loading branch information
valinet committed Aug 23, 2023
1 parent 53ff541 commit 275a91f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 275a91f

Please sign in to comment.