ソースを参照

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 年 前
コミット
759eb0bb1a
1 ファイル変更1 行追加1 行削除
  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;