Parcourir la source

Correcting confusion of Windows version and build numbers

Apparently the check is not needed anyway, as it currently almost always evaluated true (since Windows 2000 with build number 2195)

Source commit: 908fbbbf6ecff011ff523d4bd70576ffab4c422b
Martin Prikryl il y a 2 ans
Parent
commit
759eb0bb1a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -10358,7 +10358,7 @@ TDragDropFilesEx * __fastcall TCustomScpExplorerForm::CreateDragDropFilesEx()
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::UpdateDarkMode()
 {
-  if (IsWin10Build(2004))
+  if (IsWin10Build(19041))
   {
     FImmersiveDarkMode = WinConfiguration->UseDarkTheme();
     BOOL DarkMode = FImmersiveDarkMode ? TRUE : FALSE;