diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-11-20 14:35:39 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-11-20 14:35:39 +0000 |
commit | 6853eac17709ea7d4694f4a38fcc9e1867f4ce8d (patch) | |
tree | 296b225e939a9953bf7645b103daefcb7a02d0d3 /protocols/Xfire/src/main.cpp | |
parent | 83fa989e4ec503c4a8e82c097d4d464ff5495184 (diff) |
xFire: some fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@2394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/main.cpp')
-rw-r--r-- | protocols/Xfire/src/main.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index a2f8596f6c..45c93e9412 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -328,8 +328,12 @@ void XFireClient::sendmsg(char*usr,char*cmsg) { if(s.length()>100)
{
- char* temp=(char*)s.c_str();
- *(temp+100)=0;
+ s.substr(0, 100);
+
+ // W T F?
+ ///char* temp=(char*)s.c_str();
+ ///*(temp+100)=0;
+ // W T F?
}
SendStatusMessagePacket *packet = new SendStatusMessagePacket();
@@ -3567,7 +3571,7 @@ int ContactDeleted(WPARAM wParam,LPARAM lParam) { return 0;
}
-int StartGame(WPARAM wParam,LPARAM lParam,LPARAM fParam) {
+INT_PTR StartGame(WPARAM wParam,LPARAM lParam,LPARAM fParam) {
//gamelist blocken
xgamelist.Block(TRUE);
|