summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
commit517284b80db96b58ea68d7ba974345dc5a2236bb (patch)
tree4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/services.cpp
parentc0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (diff)
fix for extra icons in XFire
git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/services.cpp')
-rw-r--r--protocols/Xfire/src/services.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Xfire/src/services.cpp b/protocols/Xfire/src/services.cpp
index e6147b6009..a5c2f7d3d6 100644
--- a/protocols/Xfire/src/services.cpp
+++ b/protocols/Xfire/src/services.cpp
@@ -34,12 +34,12 @@ BOOL IsContactMySelf(std::string buddyusername) {
DBVARIANT dbv;
//nur wenn option aktiv, sonst immer FALSE
- if(!db_get_b(NULL,protocolname,"skipmyself",0))
+ if (!db_get_b(NULL,protocolname,"skipmyself",0))
return FALSE;
- if(!db_get(NULL,protocolname,"login",&dbv))
+ if (!db_get(NULL,protocolname,"login",&dbv))
{
- if(!lstrcmpiA( dbv.pszVal, buddyusername.c_str() ))
+ if (!lstrcmpiA( dbv.pszVal, buddyusername.c_str() ))
{
db_free(&dbv);
return TRUE;
@@ -56,7 +56,7 @@ BOOL IsContactMySelf(std::string buddyusername) {
INT_PTR GetMyAvatar(WPARAM wparam,LPARAM lparam) {
DBVARIANT dbv;
- if(!db_get(NULL,protocolname,"MyAvatarFile",&dbv))
+ if (!db_get(NULL,protocolname,"MyAvatarFile",&dbv))
{
strncpy((char*)wparam, dbv.pszVal, (int)lparam);
db_free(&dbv);
@@ -69,7 +69,7 @@ INT_PTR GetMyAvatar(WPARAM wparam,LPARAM lparam) {
//liefert vollendateipfad vom eigenen avatar zurück, wenn definiert
int mBotNotify(WPARAM wparam,LPARAM lparam) {
- if(wparam) {
+ if (wparam) {
CallService(MBOT_TRIGGER,(WPARAM)"xfireingame",1);
}
else