瀏覽代碼

Link update in comments

Source commit: 3ac69c841fa0f96f21aa566bd7a684d8b244951e
Martin Prikryl 5 年之前
父節點
當前提交
534ba37578
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/windows/Tools.cpp

+ 2 - 2
source/windows/Tools.cpp

@@ -110,7 +110,7 @@ TColor __fastcall GetWindowTextColor(TColor BackgroundColor, TColor Color)
 {
   if (Color == TColor(0))
   {
-    // Could use current theme TMT_TEXTCOLOR - see https://github.com/ysc3839/win32-darkmode/
+    // Could use current theme TMT_TEXTCOLOR - see https://github.com/ysc3839/win32-darkmode
     Color = (IsDarkColor(BackgroundColor) ? clWhite : clWindowText);
     SetContrast(Color, BackgroundColor, 180);
   }
@@ -121,7 +121,7 @@ TColor __fastcall GetWindowColor(TColor Color)
 {
   if (Color == TColor(0))
   {
-    // Could use current theme TMT_FILLCOLOR - see https://github.com/ysc3839/win32-darkmode/
+    // Could use current theme TMT_FILLCOLOR - see https://github.com/ysc3839/win32-darkmode
     Color = (WinConfiguration->UseDarkTheme() ? static_cast<TColor>(RGB(0x20, 0x20, 0x20)) : clWindow);
   }
   return Color;