summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-26 19:00:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-26 19:00:06 +0000
commit987280d14ed2800288f71e1335d285f67470103e (patch)
tree81fd1c24ab350d07f0ba05e7b26d8a2426d10953 /src
parent3f00912895ae0820b4db9ae7081f5ffcba1b074c (diff)
grrrm... I hate modern
git-svn-id: http://svn.miranda-ng.org/main/trunk@9954 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/clist/clcutils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/clist/clcutils.cpp b/src/modules/clist/clcutils.cpp
index 50c2e45b0b..f3f76a29e0 100644
--- a/src/modules/clist/clcutils.cpp
+++ b/src/modules/clist/clcutils.cpp
@@ -749,8 +749,9 @@ void fnLoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst)
dat->leftMargin = 4;
dat->groupIndent = 10;
+ LPARAM dwColor = GetSysColor(COLOR_WINDOWTEXT);
for (int i=0; i <= FONTID_MAX; i++)
- dat->fontInfo[i].colour = GetSysColor(COLOR_WINDOWTEXT);
+ SendMessage(hwnd, CLM_SETTEXTCOLOR, i, dwColor);
}
if (!dat->bkChanged) {