summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_notes.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_notes.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_notes.cpp')
-rw-r--r--protocols/JabberG/src/jabber_notes.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp
index 86585d9823..dfc991e622 100644
--- a/protocols/JabberG/src/jabber_notes.cpp
+++ b/protocols/JabberG/src/jabber_notes.cpp
@@ -148,7 +148,7 @@ void CNoteList::LoadXml(HXML hXml)
m_bIsModified = false;
int count = xmlGetChildCount(hXml);
- for (int i = 0; i < count; ++i)
+ for (int i = 0; i < count; i++)
{
CNoteItem *pNote = new CNoteItem(xi.getChild(hXml, i));
if (pNote->IsNotEmpty())
@@ -163,7 +163,7 @@ void CNoteList::SaveXml(HXML hXmlParent)
m_bIsModified = false;
CNoteList &me = *this;
- for (int i = 0; i < getCount(); ++i)
+ for (int i = 0; i < getCount(); i++)
{
HXML hXmlItem = hXmlParent << XCHILD(_T("note"));
hXmlItem << XATTR(_T("from"), me[i].GetFrom()) << XATTR(_T("tags"), me[i].GetTagsStr());
@@ -495,7 +495,7 @@ private:
void PopulateTags(HTREEITEM htiRoot, TCHAR *szActiveTag)
{
LIST<TCHAR> tagSet(5, _tcscmp);
- for (int i = 0; i < m_proto->m_notes.getCount(); ++i)
+ for (int i = 0; i < m_proto->m_notes.getCount(); i++)
{
TCHAR *tags = m_proto->m_notes[i].GetTags();
for (TCHAR *tag = tags; tag && *tag; tag = tag + lstrlen(tag) + 1)
@@ -550,7 +550,7 @@ private:
void ListItems(const TCHAR *tag)
{
m_lstNotes.ResetContent();
- for (int i = 0; i < m_proto->m_notes.getCount(); ++i)
+ for (int i = 0; i < m_proto->m_notes.getCount(); i++)
if (m_proto->m_notes[i].HasTag(tag))
InsertItem(m_proto->m_notes[i]);
EnableControls();