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_privacy.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_privacy.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_privacy.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp index 8f03e6e7ec..f6cddcd8a9 100644 --- a/protocols/JabberG/src/jabber_privacy.cpp +++ b/protocols/JabberG/src/jabber_privacy.cpp @@ -693,7 +693,7 @@ protected: TCLCInfo(): newJids(1, TJidData::cmp), bChanged(false), pList(0) {}
~TCLCInfo()
{
- for (int i = 0; i < newJids.getCount(); ++i)
+ for (int i = 0; i < newJids.getCount(); i++)
{
mir_free(newJids[i]->jid);
mir_free(newJids[i]);
@@ -992,7 +992,7 @@ BOOL CJabberDlgPrivacyLists::OnWmDrawItem(UINT, WPARAM, LPARAM lParam) };
int i, totalWidth = -5; // spacing for last item
- for (i = 0; i < SIZEOF(items); ++i)
+ for (i = 0; i < SIZEOF(items); i++)
{
SIZE sz = {0};
items[i].text = TranslateTS(items[i].textEng);
@@ -1004,7 +1004,7 @@ BOOL CJabberDlgPrivacyLists::OnWmDrawItem(UINT, WPARAM, LPARAM lParam) RECT rc = lpdis->rcItem;
rc.left = (rc.left + rc.right - totalWidth)/2;
- for (i = 0; i < SIZEOF(items); ++i)
+ for (i = 0; i < SIZEOF(items); i++)
{
DrawIconEx(lpdis->hDC, rc.left, (rc.top+rc.bottom-16)/2, m_proto->LoadIconEx(items[i].icon),
16, 16, 0, NULL, DI_NORMAL);
@@ -1399,7 +1399,7 @@ HANDLE CJabberDlgPrivacyLists::CListFindGroupByName(TCHAR *name) HANDLE hGroup = 0;
- for (int i= 0; !hGroup; ++i)
+ for (int i= 0; !hGroup; i++)
{
_itoa(i, idstr, 10);
@@ -1417,7 +1417,7 @@ HANDLE CJabberDlgPrivacyLists::CListFindGroupByName(TCHAR *name) void CJabberDlgPrivacyLists::CListResetIcons(HWND, HANDLE hItem, bool hide)
{
- for (int i = 0; i < 4; ++i)
+ for (int i = 0; i < 4; i++)
m_clcClist.SetExtraImage(hItem, i, hide ? EMPTY_EXTRA_ICON : 0);
}
@@ -2230,7 +2230,7 @@ INT_PTR __cdecl CJabberProto::menuSetPrivacyList(WPARAM, LPARAM, LPARAM iList) if (iList)
{
pList = m_privacyListManager.GetFirstList();
- for (int i = 1; pList && (i < iList); ++i)
+ for (int i = 1; pList && (i < iList); i++)
pList = pList->GetNext();
}
@@ -2304,7 +2304,7 @@ void CJabberProto::BuildPrivacyListsMenu(bool bDeleteOld) m_hPrivacyMenuItems.insert(Menu_AddProtoMenuItem(&mi));
for (CPrivacyList *pList = m_privacyListManager.GetFirstList(); pList; pList = pList->GetNext()) {
- ++i;
+ i++;
mir_snprintf(srvFce, SIZEOF(srvFce), "%s/menuPrivacy%d", m_szModuleName, i);
if (i > m_privacyMenuServiceAllocated) {
|