Przeglądaj źródła

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 2 lat temu
rodzic
commit
759eb0bb1a
1 zmienionych plików z 1 dodań i 1 usunięć
  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;