Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
759eb0bb1a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;