summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_privacy.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-11 12:37:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-11 12:37:56 +0000
commitcb0c18f39ae48fc5228ad0587e9719c542b086d6 (patch)
tree0ce79085d17436326da1c37763a2c7ff28e15aec /protocols/JabberG/src/jabber_privacy.h
parent8571aecddecbf82628718b846b68e912b4eb5a45 (diff)
year fix for stdafx.cpp & Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@3551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_privacy.h')
-rw-r--r--protocols/JabberG/src/jabber_privacy.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.h b/protocols/JabberG/src/jabber_privacy.h
index 398a3fbc9e..4a1ed9e32e 100644
--- a/protocols/JabberG/src/jabber_privacy.h
+++ b/protocols/JabberG/src/jabber_privacy.h
@@ -4,6 +4,7 @@ Jabber Protocol Plugin for Miranda IM
Copyright (C) 2002-04 Santithorn Bunchua
Copyright (C) 2005-12 George Hazan
Copyright (C) 2007 Maxim Mluhov
+Copyright (C) 2012-13 Miranda NG Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -215,7 +216,7 @@ public:
{
if ( !m_pRules)
return FALSE;
-
+
if (m_pRules == pRuleToRemove) {
m_pRules = m_pRules->GetNext();
pRuleToRemove->SetNext(NULL);
@@ -252,7 +253,7 @@ public:
dwCount++;
pRule = pRule->GetNext();
}
-
+
// create pointer array for sort procedure
CPrivacyListRule **pRules = (CPrivacyListRule **)mir_alloc(dwCount * sizeof(CPrivacyListRule *));
if ( !pRules)
@@ -263,7 +264,7 @@ public:
pRules[dwPos++] = pRule;
pRule = pRule->GetNext();
}
-
+
// sort array of pointers, slow, but working :)
DWORD i, j;
CPrivacyListRule *pTmp;