diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-01 17:40:01 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-01 17:40:01 +0000 |
commit | ce745b5c14b000c3aec9b9c92769da5adebda5e9 (patch) | |
tree | 22904d2eecbe6022f884529b6b535e8b25bdf2ae /plugins/NewXstatusNotify/src/options.cpp | |
parent | 8e84435e099c09fc304d0bcc9a0bed3537ca582e (diff) |
NewXStatusNotify:
- minor bugfixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12292 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/options.cpp')
-rw-r--r-- | plugins/NewXstatusNotify/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewXstatusNotify/src/options.cpp b/plugins/NewXstatusNotify/src/options.cpp index 811fe50d2a..950486472f 100644 --- a/plugins/NewXstatusNotify/src/options.cpp +++ b/plugins/NewXstatusNotify/src/options.cpp @@ -352,9 +352,9 @@ INT_PTR CALLBACK DlgProcPopupOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM {
WORD idCtrl = LOWORD(wParam);
if (HIWORD(wParam) == CPN_COLOURCHANGED) {
- if (idCtrl > 40070) {
+ if (idCtrl >= IDC_CHK_OFFLINE) {
COLORREF colour = SendDlgItemMessage(hwndDlg, idCtrl, CPM_GETCOLOUR, 0, 0);
- if ((idCtrl > 41070) && (idCtrl < 42070)) //Text colour
+ if ((idCtrl >= IDC_OFFLINE_TX) && (idCtrl <= IDC_ONTHEPHONE_TX)) //Text colour
StatusList[Index(idCtrl - 1000)].colorText = colour;
else //Background colour
StatusList[Index(idCtrl - 2000)].colorBack = colour;
|