From cb0c18f39ae48fc5228ad0587e9719c542b086d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Feb 2013 12:37:56 +0000 Subject: year fix for stdafx.cpp & Jabber git-svn-id: http://svn.miranda-ng.org/main/trunk@3551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_privacy.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber_privacy.h') 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; -- cgit v1.2.3