summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_privacy.h
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_privacy.h
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_privacy.h')
-rw-r--r--protocols/JabberG/src/jabber_privacy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.h b/protocols/JabberG/src/jabber_privacy.h
index ef29ce53d2..440c400319 100644
--- a/protocols/JabberG/src/jabber_privacy.h
+++ b/protocols/JabberG/src/jabber_privacy.h
@@ -265,7 +265,7 @@ public:
// sort array of pointers, slow, but working :)
DWORD i, j;
CPrivacyListRule *pTmp;
- for (i = 0; i < dwCount; i++) {
+ for (i=0; i < dwCount; i++) {
for (j = dwCount - 1; j > i; j--) {
if (pRules[j - 1]->GetOrder() > pRules[j]->GetOrder()) {
pTmp = pRules[j - 1];
@@ -278,7 +278,7 @@ public:
// reorder linked list
DWORD dwOrder = 100;
CPrivacyListRule **ppPtr = &m_pRules;
- for (i = 0; i < dwCount; i++) {
+ for (i=0; i < dwCount; i++) {
*ppPtr = pRules[ i ];
ppPtr = &pRules[ i ]->m_pNext;
pRules[ i ]->SetOrder(dwOrder);