summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-27 18:11:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-27 18:11:22 +0000
commit5434c7b224bafd30c382f0590a55c921dfedea54 (patch)
tree59b67c5666f5cb765d9b8de52f4c61da9cc56e6c /protocols/JabberG/src/jabber_util.cpp
parentfb8d04451e6808b1c88116c7d6d6c473831c5a2b (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_util.cpp')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index a80be6ce88..a5b41add1e 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -590,7 +590,7 @@ TCHAR* __stdcall JabberErrorMsg(HXML errorNode, int* pErrorCode)
if (str == NULL)
str = xmlGetText(xmlGetChild(errorNode, _T("text")));
if (str == NULL) {
- for (int i = 0; ; ++i) {
+ for (int i = 0; ; i++) {
HXML c = xmlGetChild(errorNode, i);
if (c == NULL) break;
const TCHAR *attr = xmlGetAttrValue(c, _T("xmlns"));
@@ -1169,7 +1169,7 @@ const char* TStringPairs::operator[](const char* key) const
void CJabberProto::ComboLoadRecentStrings(HWND hwndDlg, UINT idcCombo, char *param, int recentCount)
{
- for (int i = 0; i < recentCount; ++i) {
+ for (int i = 0; i < recentCount; i++) {
DBVARIANT dbv;
char setting[MAXMODULELABELLENGTH];
mir_snprintf(setting, sizeof(setting), "%s%d", param, i);
@@ -1742,7 +1742,7 @@ void __cdecl CJabberProto::LoadHttpAvatars(void* param)
{
OBJLIST<JABBER_HTTP_AVATARS> &avs = *(OBJLIST<JABBER_HTTP_AVATARS>*)param;
HANDLE hHttpCon = NULL;
- for (int i = 0; i < avs.getCount(); ++i)
+ for (int i = 0; i < avs.getCount(); i++)
{
NETLIBHTTPREQUEST nlhr = {0};
nlhr.cbSize = sizeof(nlhr);