Bläddra i källkod

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 år sedan
förälder
incheckning
759eb0bb1a
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;