summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_opttree.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-26 15:19:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-26 15:19:44 +0000
commit324b246fb23cd518bdd1907985c695b8fc4f28d2 (patch)
treeb41cb8a3e91484e1677f11e1a0693075cb8382f5 /protocols/JabberG/src/jabber_opttree.cpp
parent65cc377f4b4161dee01c43e0430ff7b236874839 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_opttree.cpp')
-rw-r--r--protocols/JabberG/src/jabber_opttree.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_opttree.cpp b/protocols/JabberG/src/jabber_opttree.cpp
index 5ca3c03fe8..3745624755 100644
--- a/protocols/JabberG/src/jabber_opttree.cpp
+++ b/protocols/JabberG/src/jabber_opttree.cpp
@@ -36,7 +36,7 @@ CCtrlTreeOpts::CCtrlTreeOpts(CDlgBase* dlg, int ctrlId):
CCtrlTreeOpts::~CCtrlTreeOpts()
{
- for (int i = 0; i < m_options.getCount(); i++)
+ for (int i=0; i < m_options.getCount(); i++)
delete m_options[i];
m_options.destroy();
}
@@ -120,7 +120,7 @@ void CCtrlTreeOpts::OnInit()
SetImageList(hImgLst, TVSIL_NORMAL);
/* build options tree. based on code from IcoLib */
- for (int i = 0; i < m_options.getCount(); i++)
+ for (int i=0; i < m_options.getCount(); i++)
{
TCHAR *sectionName;
int sectionLevel = 0;
@@ -198,7 +198,7 @@ void CCtrlTreeOpts::OnApply()
{
CCtrlTreeView::OnApply();
- for (int i = 0; i < m_options.getCount(); i++)
+ for (int i=0; i < m_options.getCount(); i++)
{
TVITEMEX tvi;
GetItem(m_options[i]->m_hItem, &tvi);
@@ -232,7 +232,7 @@ void CCtrlTreeOpts::ProcessItemClick(HTREEITEM hti)
case IMG_NORCHECK:
{
int i;
- for (i = 0; i < m_options.getCount(); i++)
+ for (i=0; i < m_options.getCount(); i++)
{
if (m_options[i]->m_groupId == m_options[tvi.lParam]->m_groupId)
{