summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_game.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-11-22 01:54:29 +0000
committerRobert Pösel <robyer@seznam.cz>2012-11-22 01:54:29 +0000
commit9ad7ef34209ba6887cd3102887748098a1ce8ce1 (patch)
treec83315ac93902517f235c20e796c8f761c0cd7a8 /protocols/Xfire/src/Xfire_game.cpp
parent511497e73d48eef2d2f87af6eeee5ff1a585c470 (diff)
XFire: Status messages fixes and logic improvements.
Broken option for UTF8 nicks and statuses "%s playing %s" -> "%s is playing %s" git-svn-id: http://svn.miranda-ng.org/main/trunk@2427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/Xfire_game.cpp')
-rw-r--r--protocols/Xfire/src/Xfire_game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp
index 10ae7bc783..835c8e6aa0 100644
--- a/protocols/Xfire/src/Xfire_game.cpp
+++ b/protocols/Xfire/src/Xfire_game.cpp
@@ -328,8 +328,8 @@ void Xfire_game::readFromDB(unsigned dbid)
this->notinstartmenu=this->readBytefromDB("notinstartmenu",this->id,0);
this->noicqstatus=this->readBytefromDB("gamenostatus",this->id,0);
this->readStringfromDB("gameextraparams",this->id,&this->extraparams);
- this->readStringfromDB("customgamename",this->id,&this->customgamename);
- this->readStringfromDB("statusmsg",this->id,&this->statusmsg);
+ this->readStringfromDB("customgamename",this->id,&this->customgamename);
+ this->readUtf8StringfromDB("statusmsg",this->id,&this->statusmsg);
//mehrere pfade
int size=this->readWordfromDB("gamemulti",dbid,0);
@@ -406,7 +406,7 @@ void Xfire_game::writeToDB(unsigned dbid)
else //wenn nicht eintrag aus db löschen
this->removeDBEntry("customgamename",this->id);
if(this->statusmsg!=0)
- this->writeStringtoDB("statusmsg",this->id,this->statusmsg);
+ this->writeUtf8StringtoDB("statusmsg",this->id,this->statusmsg);
else //wenn nicht eintrag aus db löschen
this->removeDBEntry("statusmsg",this->id);