summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-11 23:06:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-11 23:06:29 +0000
commitc774fa6be8cf5e9ff30ecfdb15604e25d83769ad (patch)
tree362f6e195ceff70ae97cea6963c0787fb95e7ad3 /plugins/TabSRMM/src/chat
parent85f41ee15b0a861d016ce1749d0ee10b0a6c34f5 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11833 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index d1d2b7b050..91a6bf0b63 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -2498,7 +2498,7 @@ LABEL_SHOWWINDOW:
if (!dat->fkeyProcessed && !(GetKeyState(VK_CONTROL) & 0x8000) && !(GetKeyState(VK_SHIFT) & 0x8000) && !(lp & (1 << 24)))
dat->pContainer->MenuBar->autoShow();
- return(_dlgReturn(hwndDlg, 0));
+ return _dlgReturn(hwndDlg, 0);
}
if (msg == WM_MOUSEMOVE) {
@@ -2514,7 +2514,7 @@ LABEL_SHOWWINDOW:
((MSGFILTER*)lParam)->msg = WM_NULL;
((MSGFILTER*)lParam)->wParam = 0;
((MSGFILTER*)lParam)->lParam = 0;
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
}
}
@@ -2524,7 +2524,7 @@ LABEL_SHOWWINDOW:
if ((msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN) && !(GetKeyState(VK_RMENU) & 0x8000)) {
if (DM_GenericHotkeysCheck(&message, dat)) {
dat->fkeyProcessed = true;
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
}
LRESULT mim_hotkey_check = CallService(MS_HOTKEY_CHECK, (WPARAM)&message, (LPARAM)(TABSRMM_HK_SECTION_GC));
@@ -2533,25 +2533,25 @@ LABEL_SHOWWINDOW:
switch(mim_hotkey_check) { // nothing (yet) FIXME
case TABSRMM_HK_CHANNELMGR:
SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDC_CHANMGR, BN_CLICKED), 0);
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
case TABSRMM_HK_FILTERTOGGLE:
SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDC_FILTER, BN_CLICKED), 0);
InvalidateRect(GetDlgItem(hwndDlg, IDC_FILTER), NULL, TRUE);
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
case TABSRMM_HK_LISTTOGGLE:
SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDC_SHOWNICKLIST, BN_CLICKED), 0);
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
case TABSRMM_HK_MUC_SHOWSERVER:
if (si->iType != GCW_SERVER)
pci->DoEventHookAsync(hwndDlg, si->ptszID, si->pszModule, GC_USER_MESSAGE, NULL, L"/servershow", 0);
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
}
}
if (msg == WM_KEYDOWN && wp == VK_TAB) {
if (((NMHDR*)lParam)->idFrom == IDC_CHAT_LOG) {
SetFocus(GetDlgItem(hwndDlg, IDC_CHAT_MESSAGE));
- return(_dlgReturn(hwndDlg, 1));
+ return _dlgReturn(hwndDlg, 1);
}
}