From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/jabber_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/jabber_list.cpp') diff --git a/protocols/JabberG/jabber_list.cpp b/protocols/JabberG/jabber_list.cpp index 47f336187f..2397e0bd73 100644 --- a/protocols/JabberG/jabber_list.cpp +++ b/protocols/JabberG/jabber_list.cpp @@ -82,7 +82,7 @@ void CJabberProto::ListWipe( void ) int i; EnterCriticalSection( &m_csLists ); - for( i=0; i < m_lstRoster.getCount(); i++ ) + for ( i=0; i < m_lstRoster.getCount(); i++ ) JabberListFreeItemInternal( m_lstRoster[i] ); m_lstRoster.destroy(); @@ -432,7 +432,7 @@ int CJabberProto::ListFindNext( JABBER_LIST list, int fromOffset ) { EnterCriticalSection( &m_csLists ); int i = ( fromOffset >= 0 ) ? fromOffset : 0; - for( ; ilist == list ) { LeaveCriticalSection( &m_csLists ); return i; -- cgit v1.2.3