From 40f23d124ab95f9bc589e28cd97d1af761be7f56 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Jul 2018 21:14:18 +0300 Subject: fixes #1521 (NewXstatusNotify crashes) --- plugins/NewXstatusNotify/src/options.cpp | 4 ++-- plugins/NewXstatusNotify/src/version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewXstatusNotify') diff --git a/plugins/NewXstatusNotify/src/options.cpp b/plugins/NewXstatusNotify/src/options.cpp index 7d1758572b..4eca8ddb62 100644 --- a/plugins/NewXstatusNotify/src/options.cpp +++ b/plugins/NewXstatusNotify/src/options.cpp @@ -346,9 +346,9 @@ INT_PTR CALLBACK DlgProcPopupOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM if (HIWORD(wParam) == CPN_COLOURCHANGED) { if (idCtrl >= IDC_CHK_OFFLINE) { COLORREF colour = SendDlgItemMessage(hwndDlg, idCtrl, CPM_GETCOLOUR, 0, 0); - if ((idCtrl >= IDC_OFFLINE_TX) && (idCtrl <= IDC_ONTHEPHONE_TX)) //Text colour + if ((idCtrl >= IDC_OFFLINE_TX) && (idCtrl <= IDC_STATUSMSG_TX)) //Text colour StatusList[Index(idCtrl - 1000)].colorText = colour; - else //Background colour + else // Background colour StatusList[Index(idCtrl - 2000)].colorBack = colour; SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); return TRUE; diff --git a/plugins/NewXstatusNotify/src/version.h b/plugins/NewXstatusNotify/src/version.h index 76e9ddac61..4cd0eb7de3 100644 --- a/plugins/NewXstatusNotify/src/version.h +++ b/plugins/NewXstatusNotify/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 1 #define __MINOR_VERSION 4 #define __RELEASE_NUM 0 -#define __BUILD_NUM 11 +#define __BUILD_NUM 12 #include -- cgit v1.2.3