From 324b246fb23cd518bdd1907985c695b8fc4f28d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Sep 2013 15:19:44 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@6241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_notes.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/JabberG/src/jabber_notes.cpp') diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp index d0b3c9ea3f..437679cd57 100644 --- a/protocols/JabberG/src/jabber_notes.cpp +++ b/protocols/JabberG/src/jabber_notes.cpp @@ -149,7 +149,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()) @@ -164,7 +164,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()); @@ -496,7 +496,7 @@ private: void PopulateTags(HTREEITEM htiRoot, TCHAR *szActiveTag) { LIST 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) @@ -551,7 +551,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(); -- cgit v1.2.3