diff options
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);
|