summaryrefslogtreecommitdiff
path: root/plugins/ContextHelp/src/helpdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ContextHelp/src/helpdlg.cpp')
-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;