diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-26 08:06:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-26 08:06:35 +0000 |
commit | d3540ad7bf4de7d1bae2569db357ad91656feb76 (patch) | |
tree | cc56d3cd37825db9fdecec884457b5069d2a075c /plugins/TabSRMM/src/sendqueue.cpp | |
parent | 13f917ea44a40282e9dd55777cdb0a5bd46e06f4 (diff) |
- fix for mishmash in "Add contact" button's tooltip
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1661 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 610eda2f4f..8dffa1f622 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -82,7 +82,7 @@ int SendQueue::findNextFailed(const TWindowData *dat) const if (dat) {
int i;
- for (i = 0; i < NR_SENDJOBS; i++) {
+ for (i=0; i < NR_SENDJOBS; i++) {
if (m_jobs[i].hOwner == dat->hContact && m_jobs[i].iStatus == SQ_ERROR)
return i;
}
@@ -119,7 +119,7 @@ int SendQueue::addTo(TWindowData *dat, const int iLen, int dwFlags) /*
* find a free entry in the send queue...
*/
- for (i = 0; i < NR_SENDJOBS; i++) {
+ for (i=0; i < NR_SENDJOBS; i++) {
if (m_jobs[i].hOwner != 0 || m_jobs[i].iStatus != 0) {
// this entry is used, check if it's orphaned and can be removed...
if (m_jobs[i].hwndOwner && IsWindow(m_jobs[i].hwndOwner)) // window exists, do not reuse it
@@ -630,7 +630,7 @@ void SendQueue::showErrorControls(TWindowData *dat, const int showCmd) const dat->hTabIcon = dat->hTabStatusIcon;
}
- for (i = 0; i < 5; i++) {
+ for (i=0; i < 5; i++) {
if (IsWindow(GetDlgItem(hwndDlg, myerrorControls[i])))
Utils::showDlgControl(hwndDlg, myerrorControls[i], showCmd ? SW_SHOW : SW_HIDE);
}
@@ -738,7 +738,7 @@ int SendQueue::RTL_Detect(const WCHAR *pszwText) GetStringTypeW(CT_CTYPE2, pszwText, iLen, infoTypeC2);
- for (i = 0; i < iLen; i++) {
+ for (i=0; i < iLen; i++) {
if (infoTypeC2[i] == C2_RIGHTTOLEFT)
n++;
}
|