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_agent.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols/JabberG/jabber_agent.cpp') diff --git a/protocols/JabberG/jabber_agent.cpp b/protocols/JabberG/jabber_agent.cpp index 35337568b9..144527430f 100644 --- a/protocols/JabberG/jabber_agent.cpp +++ b/protocols/JabberG/jabber_agent.cpp @@ -157,7 +157,7 @@ public: // use new jabber:x:data form HXML n = xmlGetChild( xNode , "instructions" ); if ( n != NULL && xmlGetText( n )!=NULL ) - JabberFormSetInstruction( m_hwnd, xmlGetText( n ) ); + JabberFormSetInstruction( m_hwnd, xmlGetText( n )); JabberFormCreateUI( hFrame, xNode, &m_formHeight /*dummy*/ ); } @@ -169,9 +169,9 @@ public: if ( !n ) break; - if ( xmlGetName( n ) ) { + if ( xmlGetName( n )) { if ( !lstrcmp( xmlGetName( n ), _T("instructions"))) { - JabberFormSetInstruction( m_hwnd, xmlGetText( n ) ); + JabberFormSetInstruction( m_hwnd, xmlGetText( n )); } else if ( !lstrcmp( xmlGetName( n ), _T("key")) || !lstrcmp( xmlGetName( n ), _T("registered"))) { // do nothing @@ -256,13 +256,13 @@ public: if ( !n ) break; - if ( xmlGetName( n ) ) { + if ( xmlGetName( n )) { if ( !lstrcmp( xmlGetName( n ), _T("key"))) { // field that must be passed along with the registration - if ( xmlGetText( n ) ) - xmlAddChild( query, xmlGetName( n ), xmlGetText( n ) ); + if ( xmlGetText( n )) + xmlAddChild( query, xmlGetName( n ), xmlGetText( n )); else - xmlAddChild( query, xmlGetName( n ) ); + xmlAddChild( query, xmlGetName( n )); } else if ( !lstrcmp( xmlGetName( n ), _T("registered")) || !lstrcmp( xmlGetName( n ), _T("instructions"))) { // do nothing, we will skip these -- cgit v1.2.3