From 517284b80db96b58ea68d7ba974345dc5a2236bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Jan 2014 11:42:34 +0000 Subject: fix for extra icons in XFire git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/variables.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'protocols/Xfire/src/variables.cpp') diff --git a/protocols/Xfire/src/variables.cpp b/protocols/Xfire/src/variables.cpp index f23a47966c..5f9c7ee762 100644 --- a/protocols/Xfire/src/variables.cpp +++ b/protocols/Xfire/src/variables.cpp @@ -13,7 +13,7 @@ char* Varxfiregame(ARGUMENTSINFO *ai) if (ai->cbSize < sizeof(ARGUMENTSINFO)) return NULL; - if(ai->fi->hContact==NULL) + if (ai->fi->hContact==NULL) { // } @@ -21,7 +21,7 @@ char* Varxfiregame(ARGUMENTSINFO *ai) { char temp[256]; DBVARIANT dbv3; - if(!db_get(ai->fi->hContact,protocolname, "RGame",&dbv3)) + if (!db_get(ai->fi->hContact,protocolname, "RGame",&dbv3)) { strncpy(temp,dbv3.pszVal,255); db_free(&dbv3); @@ -39,7 +39,7 @@ char* Varmyxfiregame(ARGUMENTSINFO *ai) return NULL; DBVARIANT dbv3; - if(!db_get(NULL,protocolname, "currentgamename",&dbv3)) + if (!db_get(NULL,protocolname, "currentgamename",&dbv3)) { char* ret=mir_strdup(dbv3.pszVal); db_free(&dbv3); @@ -55,7 +55,7 @@ char* Varxfirevoice(ARGUMENTSINFO *ai) return NULL; DBVARIANT dbv3; - if(!db_get(ai->fi->hContact,protocolname, "RVoice",&dbv3)) + if (!db_get(ai->fi->hContact,protocolname, "RVoice",&dbv3)) { char* ret=mir_strdup(dbv3.pszVal); db_free(&dbv3); @@ -72,7 +72,7 @@ char* Varmyxfirevoiceip(ARGUMENTSINFO *ai) { return NULL; DBVARIANT dbv3; - if(!db_get(NULL,protocolname, "VServerIP",&dbv3)) + if (!db_get(NULL,protocolname, "VServerIP",&dbv3)) { char* ret=mir_strdup(dbv3.pszVal); db_free(&dbv3); @@ -88,7 +88,7 @@ char* Varmyxfireserverip(ARGUMENTSINFO *ai) { return NULL; DBVARIANT dbv3; - if(!db_get(NULL,protocolname, "ServerIP",&dbv3)) + if (!db_get(NULL,protocolname, "ServerIP",&dbv3)) { char* ret=mir_strdup(dbv3.pszVal); db_free(&dbv3); @@ -103,7 +103,7 @@ char* Varxfireserverip(ARGUMENTSINFO *ai) { if (ai->cbSize < sizeof(ARGUMENTSINFO)) return NULL; - if(ai->fi->hContact==NULL) + if (ai->fi->hContact==NULL) { ai->flags = AIF_FALSE; return mir_strdup(""); @@ -112,7 +112,7 @@ char* Varxfireserverip(ARGUMENTSINFO *ai) { { char temp[24]; DBVARIANT dbv3; - if(!db_get(ai->fi->hContact,protocolname, "ServerIP",&dbv3)) + if (!db_get(ai->fi->hContact,protocolname, "ServerIP",&dbv3)) { mir_snprintf(temp, SIZEOF(temp), "%s:%d", dbv3.pszVal, db_get_w(ai->fi->hContact, protocolname, "Port", 0)); db_free(&dbv3); @@ -130,7 +130,7 @@ char* Varxfirevoiceip(ARGUMENTSINFO *ai) { if (ai->cbSize < sizeof(ARGUMENTSINFO)) return NULL; - if(ai->fi->hContact==NULL) + if (ai->fi->hContact==NULL) { ai->flags = AIF_FALSE; return mir_strdup(""); @@ -139,7 +139,7 @@ char* Varxfirevoiceip(ARGUMENTSINFO *ai) { { char temp[24]; DBVARIANT dbv3; - if(!db_get(ai->fi->hContact,protocolname, "VServerIP",&dbv3)) + if (!db_get(ai->fi->hContact,protocolname, "VServerIP",&dbv3)) { mir_snprintf(temp, SIZEOF(temp), "%s:%d", dbv3.pszVal, db_get_w(ai->fi->hContact, protocolname, "VPort", 0)); db_free(&dbv3); @@ -159,7 +159,7 @@ char* Varmyxfirevoice(ARGUMENTSINFO *ai) return NULL; DBVARIANT dbv3; - if(!db_get(NULL,protocolname, "currentvoicename",&dbv3)) + if (!db_get(NULL,protocolname, "currentvoicename",&dbv3)) { char* ret=mir_strdup(dbv3.pszVal); db_free(&dbv3); -- cgit v1.2.3