From 30ab6ceb71842f003f649b3d62b89af010cf40d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 17:00:14 +0000 Subject: - direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call; - obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/jabber_list.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/jabber_list.cpp') diff --git a/protocols/JabberG/jabber_list.cpp b/protocols/JabberG/jabber_list.cpp index 2397e0bd73..155f9e2b60 100644 --- a/protocols/JabberG/jabber_list.cpp +++ b/protocols/JabberG/jabber_list.cpp @@ -147,7 +147,7 @@ JABBER_LIST_ITEM *CJabberProto::ListAdd( JABBER_LIST list, const TCHAR* jid ) if ( !bUseResource && list== LIST_ROSTER ) { //if it is a chat room keep resource and made it resource sensitive - if ( ChatRoomHContactFromJID( s ) ) + if ( ChatRoomHContactFromJID( s )) { if (q != NULL) *q='/'; bUseResource=TRUE; @@ -192,7 +192,7 @@ void CJabberProto::ListRemoveList( JABBER_LIST list ) void CJabberProto::ListRemoveByIndex( int index ) { EnterCriticalSection( &m_csLists ); - if ( index >= 0 && index < m_lstRoster.getCount() ) { + if ( index >= 0 && index < m_lstRoster.getCount()) { JabberListFreeItemInternal( m_lstRoster[index] ); m_lstRoster.remove( index ); } @@ -457,7 +457,7 @@ JABBER_LIST_ITEM *CJabberProto::ListGetItemPtr( JABBER_LIST list, const TCHAR* j JABBER_LIST_ITEM *CJabberProto::ListGetItemPtrFromIndex( int index ) { EnterCriticalSection( &m_csLists ); - if ( index >= 0 && index < m_lstRoster.getCount() ) { + if ( index >= 0 && index < m_lstRoster.getCount()) { LeaveCriticalSection( &m_csLists ); return m_lstRoster[index]; } -- cgit v1.2.3