diff options
Diffstat (limited to 'protocols/Xfire')
-rw-r--r-- | protocols/Xfire/src/Xfire_game.cpp | 4 | ||||
-rw-r--r-- | protocols/Xfire/src/Xfire_gamelist.cpp | 2 | ||||
-rw-r--r-- | protocols/Xfire/src/Xfire_proxy.cpp | 2 | ||||
-rw-r--r-- | protocols/Xfire/src/main.cpp | 20 | ||||
-rw-r--r-- | protocols/Xfire/src/options.cpp | 4 | ||||
-rw-r--r-- | protocols/Xfire/src/searching4games.cpp | 2 |
6 files changed, 17 insertions, 17 deletions
diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp index bd8e2b0e2a..78a616ca04 100644 --- a/protocols/Xfire/src/Xfire_game.cpp +++ b/protocols/Xfire/src/Xfire_game.cpp @@ -32,7 +32,7 @@ BOOL Xfire_game::start_game(char*ip,unsigned int port,char*pw) { this->launchparams[3]=='p'&&
this->launchparams[4]==':')
{
- return CallService( MS_UTILS_OPENURL, 1, (LPARAM)this->launchparams );
+ return CallService(MS_UTILS_OPENURL, 1, (LPARAM)this->launchparams );
}
}
@@ -463,7 +463,7 @@ void Xfire_game::remoteMenuitem() {
if(menuhandle!=NULL)
{
- CallService( MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )menuhandle, 0 );
+ CallService(MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )menuhandle, 0 );
menuhandle=NULL;
}
}
diff --git a/protocols/Xfire/src/Xfire_gamelist.cpp b/protocols/Xfire/src/Xfire_gamelist.cpp index eca9f00b13..61cca456a5 100644 --- a/protocols/Xfire/src/Xfire_gamelist.cpp +++ b/protocols/Xfire/src/Xfire_gamelist.cpp @@ -259,7 +259,7 @@ void Xfire_gamelist::createDummyMenuItem() //entfernt dummymenueintrag
void Xfire_gamelist::removeDummyMenuItem()
{
- CallService( MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )dummymenuitem, 0 );
+ CallService(MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )dummymenuitem, 0 );
}
//säubert die datenbank spiel einträge udn trägt custom spiele vorher nach
diff --git a/protocols/Xfire/src/Xfire_proxy.cpp b/protocols/Xfire/src/Xfire_proxy.cpp index 641c481097..3198f4dc80 100644 --- a/protocols/Xfire/src/Xfire_proxy.cpp +++ b/protocols/Xfire/src/Xfire_proxy.cpp @@ -83,7 +83,7 @@ int AfterSystemModulesLoaded(WPARAM wParam,LPARAM lParam) nb.pfnNewConnectionV2 = XfireclientConnecting;
nb.pExtra = NULL;
nb.wPort = 25999;
- hBindPort = (HANDLE)CallService( MS_NETLIB_BINDPORT, (WPARAM)hNetlib,(LPARAM) &nb);
+ hBindPort = (HANDLE)CallService(MS_NETLIB_BINDPORT, (WPARAM)hNetlib,(LPARAM) &nb);
return 0;
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp index 53be6dbcfe..8025b9a7e0 100644 --- a/protocols/Xfire/src/main.cpp +++ b/protocols/Xfire/src/main.cpp @@ -451,7 +451,7 @@ void XFireClient::sendmsg(char*usr,char*cmsg) { case XFIRE_RECVREMOVEBUDDYPACKET:
{
RecvRemoveBuddyPacket *remove = (RecvRemoveBuddyPacket*)content;
- CallService( MS_DB_CONTACT_DELETE, (WPARAM) remove->handle, 1 );
+ CallService(MS_DB_CONTACT_DELETE, (WPARAM) remove->handle, 1 );
break;
}
case XFIRE_BUDDYS_NAMES_ID:
@@ -797,7 +797,7 @@ void __stdcall XFireLog( const char* fmt, ... ) mir_vsnprintf( str, 32000, fmt, vararg );
va_end( vararg );
- CallService( MS_NETLIB_LOG, ( WPARAM )hNetlib, ( LPARAM )str );
+ CallService(MS_NETLIB_LOG, ( WPARAM )hNetlib, ( LPARAM )str );
}
//=====================================================
@@ -1378,7 +1378,7 @@ INT_PTR RecvMessage(WPARAM wParam, LPARAM lParam) char *szProto = GetContactProto(ccs->hContact);
if ( szProto != NULL && !lstrcmpiA( szProto, protocolname ))
- return CallService( MS_PROTO_RECVMSG, wParam, lParam );
+ return CallService(MS_PROTO_RECVMSG, wParam, lParam );
return 1;
}
@@ -1725,9 +1725,9 @@ HANDLE CList_AddContact(XFireContact xfc, bool InList, bool SetOnline,int clan) return 0;
// here we create a new one since no one is to be found
- hContact = (HANDLE) CallService( MS_DB_CONTACT_ADD, 0, 0);
+ hContact = (HANDLE) CallService(MS_DB_CONTACT_ADD, 0, 0);
if ( hContact ) {
- CallService( MS_PROTO_ADDTOCONTACT, (WPARAM) hContact, (LPARAM)protocolname );
+ CallService(MS_PROTO_ADDTOCONTACT, (WPARAM) hContact, (LPARAM)protocolname );
if ( InList )
db_unset(hContact, "CList", "NotOnList");
@@ -1868,7 +1868,7 @@ void CList_MakeAllOffline() //alle gefundenen handles lsöchen
for(uint i=0; i < fhandles.size(); i++)
- CallService( MS_DB_CONTACT_DELETE, (WPARAM) fhandles.at(i), 0);
+ CallService(MS_DB_CONTACT_DELETE, (WPARAM) fhandles.at(i), 0);
}
void SetIcon(HANDLE hcontact,HANDLE hicon,int ctype)
@@ -2132,7 +2132,7 @@ static INT_PTR GotoProfile(WPARAM wParam,LPARAM lParam) strcat_s(temp,64,dbv.pszVal);
db_free(&dbv);
- CallService( MS_UTILS_OPENURL, 1, (LPARAM)temp );
+ CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp );
return 0;
}
@@ -2151,7 +2151,7 @@ static INT_PTR GotoXFireClanSite(WPARAM wParam,LPARAM lParam) { strcat_s(temp,64,dbv.pszVal);
db_free(&dbv);
- CallService( MS_UTILS_OPENURL, 1, (LPARAM)temp );
+ CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp );
return 0;
}
@@ -2168,7 +2168,7 @@ static INT_PTR GotoProfile2(WPARAM wParam,LPARAM lParam) strcat_s(temp,64,dbv.pszVal);
db_free(&dbv);
- CallService( MS_UTILS_OPENURL, 1, (LPARAM)temp );
+ CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp );
//prefrences pakcet senden
//XFirePrefPacket *packet2 = new XFirePrefPacket();
@@ -2190,7 +2190,7 @@ static INT_PTR GotoProfileAct(WPARAM wParam,LPARAM lParam) strcat_s(temp,64,dbv.pszVal);
db_free(&dbv);
- CallService( MS_UTILS_OPENURL, 1, (LPARAM)temp );
+ CallService(MS_UTILS_OPENURL, 1, (LPARAM)temp );
//prefrences pakcet senden
//XFirePrefPacket *packet2 = new XFirePrefPacket();
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp index f252282e40..96d1557630 100644 --- a/protocols/Xfire/src/options.cpp +++ b/protocols/Xfire/src/options.cpp @@ -242,11 +242,11 @@ static INT_PTR CALLBACK DlgProcOpts2(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR EnableDlgItem(hwndDlg, IDC_KONFIG_3, TRUE);
}
if ( LOWORD( wParam ) == IDC_URLNEWACC ) {
- CallService( MS_UTILS_OPENURL, 1, ( LPARAM )"http://www.xfire.com/register/" );
+ CallService(MS_UTILS_OPENURL, 1, ( LPARAM )"http://www.xfire.com/register/" );
return TRUE;
}
if ( LOWORD( wParam ) == IDC_LOSTPW ) {
- CallService( MS_UTILS_OPENURL, 1, ( LPARAM )"https://secure.xfire.com/lost_password/" );
+ CallService(MS_UTILS_OPENURL, 1, ( LPARAM )"https://secure.xfire.com/lost_password/" );
return TRUE;
}
diff --git a/protocols/Xfire/src/searching4games.cpp b/protocols/Xfire/src/searching4games.cpp index 509dc28d0a..2a0ab3b8ea 100644 --- a/protocols/Xfire/src/searching4games.cpp +++ b/protocols/Xfire/src/searching4games.cpp @@ -223,7 +223,7 @@ void Scan4Games( LPVOID lparam ) {
searching=FALSE;
//dummymenü punkt entfernen
- //CallService( MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )dummymenu, 0 );
+ //CallService(MS_CLIST_REMOVEMAINMENUITEM, ( WPARAM )dummymenu, 0 );
//gamelist unblocken
xgamelist.Block(FALSE);
|