diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-13 20:36:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-13 20:36:49 +0300 |
commit | a2cedee6d5e03c56e8234ba1150727ce3857e638 (patch) | |
tree | fafe2a6b39a49c56b4f361cedd81ecb6388675d0 /plugins/TabSRMM/src/typingnotify.cpp | |
parent | 0726ffe2cca22eef7d8cd578df7ea8a56b130766 (diff) |
fix for built-in clist_modern in the typing notification options dialog
Diffstat (limited to 'plugins/TabSRMM/src/typingnotify.cpp')
-rw-r--r-- | plugins/TabSRMM/src/typingnotify.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/typingnotify.cpp b/plugins/TabSRMM/src/typingnotify.cpp index 0038d9122e..23f24220a6 100644 --- a/plugins/TabSRMM/src/typingnotify.cpp +++ b/plugins/TabSRMM/src/typingnotify.cpp @@ -174,6 +174,8 @@ void TN_TypingMessage(MCONTACT hContact, int iMode) static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
+ WORD idCtrl, wNotifyCode;
+
switch (msg) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
@@ -227,8 +229,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA break;
case WM_COMMAND:
- {
- WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam);
+ idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam);
if (wNotifyCode == CPN_COLOURCHANGED) {
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
@@ -448,8 +449,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
}
- }
- break;
+ break;
case WM_NOTIFY:
switch (((LPNMHDR)lParam)->idFrom) {
|