From 987280d14ed2800288f71e1335d285f67470103e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 Jul 2014 19:00:06 +0000 Subject: grrrm... I hate modern git-svn-id: http://svn.miranda-ng.org/main/trunk@9954 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clcutils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3