diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-19 20:49:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-19 20:49:46 +0000 |
commit | b9c6f2f3a368274a21cee17d4e3ffe2f9980ec7d (patch) | |
tree | 927fdba2cbe494844d9427533800cf418e7d9fb3 /plugins/TabSRMM/src/sendqueue.cpp | |
parent | 065cfd5dee2d8fbbfe2b8780d17871c090dd952b (diff) |
- minor optimizations;
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@4116 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index e2a609db61..64839b95ff 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -156,7 +156,7 @@ entry_found: dat->cache->saveHistory(0, 0);
::SetDlgItemText(hwndDlg, IDC_MESSAGE, _T(""));
- ::SetFocus(GetDlgItem(hwndDlg, IDC_MESSAGE));
+ ::SetFocus( GetDlgItem(hwndDlg, IDC_MESSAGE));
UpdateSaveAndSendButton(dat);
sendQueued(dat, iFound);
@@ -617,7 +617,7 @@ void SendQueue::showErrorControls(TWindowData *dat, const int showCmd) const dat->hTabIcon = PluginConfig.g_iconErr;
item.mask = TCIF_IMAGE;
item.iImage = 0;
- TabCtrl_SetItem(GetDlgItem(dat->pContainer->hwnd, IDC_MSGTABS), dat->iTabID, &item);
+ TabCtrl_SetItem( GetDlgItem(dat->pContainer->hwnd, IDC_MSGTABS), dat->iTabID, &item);
dat->dwFlags |= MWF_ERRORSTATE;
}
else {
@@ -626,7 +626,7 @@ void SendQueue::showErrorControls(TWindowData *dat, const int showCmd) const }
for (i=0; i < 5; i++) {
- if (IsWindow(GetDlgItem(hwndDlg, myerrorControls[i])))
+ if (IsWindow( GetDlgItem(hwndDlg, myerrorControls[i])))
Utils::showDlgControl(hwndDlg, myerrorControls[i], showCmd ? SW_SHOW : SW_HIDE);
}
@@ -638,7 +638,7 @@ void SendQueue::showErrorControls(TWindowData *dat, const int showCmd) const void SendQueue::recallFailed(const TWindowData *dat, int iEntry) const
{
- int iLen = GetWindowTextLengthA(GetDlgItem(dat->hwnd, IDC_MESSAGE));
+ int iLen = GetWindowTextLengthA( GetDlgItem(dat->hwnd, IDC_MESSAGE));
if (dat) {
NotifyDeliveryFailure(dat);
|