diff options
Diffstat (limited to 'vcl/win/window')
-rw-r--r-- | vcl/win/window/salframe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index c0db43ff227e..54e975e0e6a8 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -270,13 +270,13 @@ static void UpdateDarkMode(HWND hWnd) { switch (MiscSettings::GetDarkMode()) { - case 0: + case AppearanceMode::AUTO: SetPreferredAppMode(AllowDark); break; - case 1: + case AppearanceMode::LIGHT: SetPreferredAppMode(ForceLight); break; - case 2: + case AppearanceMode::DARK: SetPreferredAppMode(ForceDark); break; } |