summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2016-02-07 19:21:37 +0000
committerGoraf <goraf@miranda-ng.org>2016-02-07 19:21:37 +0000
commite96ff917bb98563a2397eca71c51a273e46d9dcd (patch)
tree18063b538b94b6ea6b00294fca655ebe9def8071 /plugins
parentbbfb470d233f1d9de6c1b068b0a11dbf78aba2de (diff)
ContextHelp: fix for bgcolor
git-svn-id: http://svn.miranda-ng.org/main/trunk@16243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ContextHelp/src/helpdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ContextHelp/src/helpdlg.cpp b/plugins/ContextHelp/src/helpdlg.cpp
index 8bfe64d8f5..47692e128c 100644
--- a/plugins/ContextHelp/src/helpdlg.cpp
+++ b/plugins/ContextHelp/src/helpdlg.cpp
@@ -310,7 +310,7 @@ INT_PTR CALLBACK HelpDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
case WM_CTLCOLORSTATIC:
SetTextColor((HDC)wParam, GetSysColor(COLOR_INFOTEXT));
SetBkColor((HDC)wParam, GetSysColor(COLOR_INFOBK));
- return GetSysColorBrush(COLOR_INFOBK) != 0;
+ return (INT_PTR)GetSysColorBrush(COLOR_INFOBK);
case WM_ACTIVATE:
if (LOWORD(wParam) != WA_INACTIVE)
break;