summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-24 21:14:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-24 21:14:18 +0300
commit40f23d124ab95f9bc589e28cd97d1af761be7f56 (patch)
tree9e0adb2015fe43ed147648f4e11077744f806269 /plugins/NewXstatusNotify
parent97a1b591ce906910dae8abb4420dd27ce3414dc7 (diff)
fixes #1521 (NewXstatusNotify crashes)
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r--plugins/NewXstatusNotify/src/options.cpp4
-rw-r--r--plugins/NewXstatusNotify/src/version.h2
2 files changed, 3 insertions, 3 deletions
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 <stdver.h>