diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-07 10:17:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-07 10:17:28 +0000 |
commit | cdce2ce7164855eb03909b088273b36a877edf69 (patch) | |
tree | b2e933d52953b743c45caf9b6d35713075a5ad70 /plugins/TabSRMM/src/TSButton.cpp | |
parent | c64f6aa70ba10a73b57d1cc149aa27119a681a81 (diff) |
- special method for reading booleans
- fixed misprint that led to wrong chat event count
git-svn-id: http://svn.miranda-ng.org/main/trunk@5251 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/TSButton.cpp')
-rw-r--r-- | plugins/TabSRMM/src/TSButton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/TSButton.cpp b/plugins/TabSRMM/src/TSButton.cpp index fc8a8df426..c6a68d6877 100644 --- a/plugins/TabSRMM/src/TSButton.cpp +++ b/plugins/TabSRMM/src/TSButton.cpp @@ -642,7 +642,7 @@ static LRESULT CALLBACK TSButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, if (bct->sitem) {
if (bct->sitem->testCloseButton() != -1)
- return(TRUE);
+ return TRUE;
bct->stateId = PBS_PRESSED;
InvalidateRect(bct->hwnd, NULL, TRUE);
bct->sitem->activateSession();
@@ -671,7 +671,7 @@ static LRESULT CALLBACK TSButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, if (bct->sitem) {
if (bct->sitem->testCloseButton() != -1) {
SendMessage(bct->sitem->getDat()->hwnd, WM_CLOSE, 1, 0);
- return(TRUE);
+ return TRUE;
}
}
if (bct->pushBtn) {
|