diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-27 18:11:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-27 18:11:22 +0000 |
commit | 5434c7b224bafd30c382f0590a55c921dfedea54 (patch) | |
tree | 59b67c5666f5cb765d9b8de52f4c61da9cc56e6c /protocols/JabberG/src/jabber_form.cpp | |
parent | fb8d04451e6808b1c88116c7d6d6c473831c5a2b (diff) |
- fix for the Jabber chat's Member Info dialog
- ++i -> i++
git-svn-id: http://svn.miranda-ng.org/main/trunk@3310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_form.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_form.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_form.cpp b/protocols/JabberG/src/jabber_form.cpp index cbdee873fc..550de8fa58 100644 --- a/protocols/JabberG/src/jabber_form.cpp +++ b/protocols/JabberG/src/jabber_form.cpp @@ -117,14 +117,14 @@ void JabberFormSetInstruction(HWND hwndForm, const TCHAR *text) int len = lstrlen(text);
int fixedLen = len;
- for (int i = 1; i < len; ++i)
+ for (int i = 1; i < len; i++)
if ((text[i - 1] == _T('\n')) && (text[i] != _T('\r')))
++fixedLen;
TCHAR *fixedText = NULL;
if (fixedLen != len) {
fixedText = (TCHAR *)mir_alloc(sizeof(TCHAR) * (fixedLen+1));
TCHAR *p = fixedText;
- for (int i = 0; i < len; ++i) {
+ for (int i = 0; i < len; i++) {
*p = text[i];
if (i && (text[i] == _T('\n')) && (text[i] != _T('\r'))) {
*p++ = _T('\r');
@@ -421,7 +421,7 @@ void JabberFormLayoutControls(HWND hwndStatic, TJabberFormLayoutInfo *layout_inf TJabberFormControlList *controls = (TJabberFormControlList *)GetWindowLongPtr(hwndStatic, GWLP_USERDATA);
if ( !controls) return;
- for (int i = 0; i < controls->getCount(); ++i)
+ for (int i = 0; i < controls->getCount(); i++)
{
if ((*controls)[i]->hLabel)
SetWindowPos((*controls)[i]->hLabel, 0,
|