summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2013-10-20 19:32:54 +0000
committerDart Raiden <wowemuh@gmail.com>2013-10-20 19:32:54 +0000
commit05d7641afd10c5af6cb8b5bef34a5e86a001c2d2 (patch)
tree4b37cb63582d19658cc59a9302ac7f37b9861373 /protocols/Xfire
parentdefe4cc2bf3f06c3362248adad611b752d815f10 (diff)
Xfire: spelling corrections
git-svn-id: http://svn.miranda-ng.org/main/trunk@6562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/res/resource.rc20
-rw-r--r--protocols/Xfire/src/Xfire_gamelist.cpp2
-rw-r--r--protocols/Xfire/src/Xfire_gamelist.h2
-rw-r--r--protocols/Xfire/src/addgamedialog.cpp8
-rw-r--r--protocols/Xfire/src/all_statusmsg.cpp2
-rw-r--r--protocols/Xfire/src/buddylist.cpp4
-rw-r--r--protocols/Xfire/src/client.cpp12
-rw-r--r--protocols/Xfire/src/main.cpp32
-rw-r--r--protocols/Xfire/src/packetreader.cpp4
-rw-r--r--protocols/Xfire/src/searching4games.cpp4
-rw-r--r--protocols/Xfire/src/tools.cpp2
-rw-r--r--protocols/Xfire/src/xfirepacket.cpp2
12 files changed, 47 insertions, 47 deletions
diff --git a/protocols/Xfire/res/resource.rc b/protocols/Xfire/res/resource.rc
index f492d65573..01f459d679 100644
--- a/protocols/Xfire/res/resource.rc
+++ b/protocols/Xfire/res/resource.rc
@@ -89,7 +89,7 @@ BEGIN
LTEXT "Note: You can only change these settings, if you are connected to Xfire.",IDC_STC22,6,73,290,11,NOT WS_GROUP
CONTROL "Create a new Xfire account on website",IDC_URLNEWACC,
"Hyperlink",WS_TABSTOP,170,14,126,9
- CONTROL "Lost Password?",IDC_LOSTPW,"Hyperlink",WS_TABSTOP,170,33,124,9
+ CONTROL "Lost password?",IDC_LOSTPW,"Hyperlink",WS_TABSTOP,170,33,124,9
GROUPBOX "Account options",IDC_GRP12,2,62,300,160
CONTROL "Show my friends",IDC_KONFIG_1,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,114,282,9
GROUPBOX "Game Status",IDC_GRP13,6,103,292,57
@@ -204,7 +204,7 @@ BEGIN
EDITTEXT IDC_VIP,54,99,54,9,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
LTEXT "Port:",IDC_STC13,134,99,16,9,NOT WS_GROUP
EDITTEXT IDC_VPORT,150,99,70,9,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
- GROUPBOX "Userdetails",IDC_GRP4,2,0,112,44
+ GROUPBOX "User details",IDC_GRP4,2,0,112,44
EDITTEXT IDC_DNICK,46,9,64,9,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
EDITTEXT IDC_DUSERNAME,46,18,66,9,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
ICON "",IDC_GAMEICO,6,53,22,19,SS_CENTERIMAGE
@@ -243,9 +243,9 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIB
CAPTION "New xfire_games.ini"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
- LTEXT "There is a new XFire Gamelist online, do you want to update now?",IDC_STC34,30,5,154,19,NOT WS_GROUP
+ LTEXT "There is a new XFire gamelist online, do you want to update now?",IDC_STC34,30,5,154,19,NOT WS_GROUP
ICON IDI_TM,IDC_IMG2,4,3,22,19,SS_CENTERIMAGE
- LTEXT "New supported Games:",IDC_STC35,6,29,124,9,NOT WS_GROUP
+ LTEXT "New supported games:",IDC_STC35,6,29,124,9,NOT WS_GROUP
DEFPUSHBUTTON "Update",IDOK,36,88,50,15
PUSHBUTTON "Cancel",IDCANCEL,102,88,50,15
EDITTEXT IDC_UPDATEGAMES,6,40,178,44,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL,WS_EX_CLIENTEDGE
@@ -256,13 +256,13 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
- PUSHBUTTON "Add Game",IDOK,4,186,50,15
+ PUSHBUTTON "Add game",IDOK,4,186,50,15
PUSHBUTTON "Cancel",IDCANCEL,142,186,50,15
LISTBOX IDC_GAMELIST,4,33,186,148,LBS_SORT | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL | WS_TABSTOP,WS_EX_CLIENTEDGE
CONTROL "",IDC_PROGRESS,"msctls_progress32",0x0,6,96,184,13
EDITTEXT IDC_SEARCH,4,14,186,13,NOT WS_BORDER,WS_EX_CLIENTEDGE
LTEXT "Search:",IDC_STC14,4,3,186,9,NOT WS_GROUP
- PUSHBUTTON "Custom ...",IDC_CUSTOM,56,186,50,15
+ PUSHBUTTON "Custom...",IDC_CUSTOM,56,186,50,15
END
IDD_ADDGAME2 DIALOGEX 0, 0, 196, 205
@@ -276,17 +276,17 @@ BEGIN
EDITTEXT IDC_ADD_NAME,4,14,186,13,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE
EDITTEXT IDC_ADD_DETECTEXE,4,42,136,13,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE
LTEXT "Game exe:",IDC_STC37,4,31,188,9,NOT WS_GROUP
- PUSHBUTTON "Browse ...",IDC_ADD_BROWSEDETECT,144,42,48,14
+ PUSHBUTTON "Browse...",IDC_ADD_BROWSEDETECT,144,42,48,14
LTEXT "Launcher exe (optional):",IDC_STC38,4,59,188,9,NOT WS_GROUP
EDITTEXT IDC_ADD_LAUNCHEREXE,4,70,136,13,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE
- PUSHBUTTON "Browse ...",IDC_ADD_BROWSELAUNCHER,144,70,48,14
+ PUSHBUTTON "Browse...",IDC_ADD_BROWSELAUNCHER,144,70,48,14
LTEXT "Game id:",IDC_STC39,4,86,52,9,NOT WS_GROUP
EDITTEXT IDC_ADD_ID,4,97,36,13,NOT WS_BORDER,WS_EX_CLIENTEDGE
PUSHBUTTON "?",IDC_GAMEIDHELP,42,97,14,13
LTEXT "Send game id:",IDC_STC42,60,86,50,9,NOT WS_GROUP
EDITTEXT IDC_ADD_SENDID,60,97,36,13,NOT WS_BORDER,WS_EX_CLIENTEDGE
PUSHBUTTON "?",IDC_SENDIDHELP,98,97,14,13
- LTEXT "Statusmessage for Xfire, if this game will be started:",IDC_STC43,4,114,188,9,NOT WS_GROUP
+ LTEXT "Status message for Xfire, if this game will be started:",IDC_STC43,4,114,188,9,NOT WS_GROUP
EDITTEXT IDC_ADD_STATUSMSG,4,125,188,56,ES_MULTILINE | ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE
LTEXT "Parameter:",IDC_STC44,116,86,74,9,NOT WS_GROUP
EDITTEXT IDC_ADD_CUSTOMPARAMS,116,97,76,13,ES_AUTOHSCROLL | NOT WS_BORDER,WS_EX_CLIENTEDGE
@@ -305,7 +305,7 @@ STYLE DS_SETFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_BORDER
EXSTYLE WS_EX_TOPMOST
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
- CTEXT "Searching games ...",IDC_SEARCHINGLABL,0,0,196,41,SS_CENTERIMAGE | NOT WS_GROUP
+ CTEXT "Searching games...",IDC_SEARCHINGLABL,0,0,196,41,SS_CENTERIMAGE | NOT WS_GROUP
ICON IDI_TM,IDC_IMG1,2,1,46,37,SS_CENTERIMAGE
LTEXT "",IDC_CURRENTGAME,44,29,150,9,NOT WS_GROUP
END
diff --git a/protocols/Xfire/src/Xfire_gamelist.cpp b/protocols/Xfire/src/Xfire_gamelist.cpp
index 61cca456a5..7298ff5e91 100644
--- a/protocols/Xfire/src/Xfire_gamelist.cpp
+++ b/protocols/Xfire/src/Xfire_gamelist.cpp
@@ -248,7 +248,7 @@ void Xfire_gamelist::createDummyMenuItem()
{
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 500090001;
- mi.pszName = Translate("Please wait ...");
+ mi.pszName = Translate("Please wait...");
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.popupPosition = 500084000;
mi.pszPopupName = Translate("Start game");
diff --git a/protocols/Xfire/src/Xfire_gamelist.h b/protocols/Xfire/src/Xfire_gamelist.h
index 632d8f3829..2d134bbb9a 100644
--- a/protocols/Xfire/src/Xfire_gamelist.h
+++ b/protocols/Xfire/src/Xfire_gamelist.h
@@ -26,7 +26,7 @@
/*
Klasse soll die Gameliste verwalten. Dazu gehört das dynamische Einfügen/Löschen/Verändern von Games.
- Erstellen/Sortieren der Menüpunkte ...
+ Erstellen/Sortieren der Menüpunkte...
*/
#ifndef _XFIRE_GAMELIST
diff --git a/protocols/Xfire/src/addgamedialog.cpp b/protocols/Xfire/src/addgamedialog.cpp
index 600dcf38ce..53e8519c9b 100644
--- a/protocols/Xfire/src/addgamedialog.cpp
+++ b/protocols/Xfire/src/addgamedialog.cpp
@@ -322,7 +322,7 @@ INT_PTR CALLBACK DlgAddGameProc (HWND hwndDlg,
{
//nicht schließen, wenn noch der thread läuft
if(dontClose) {
- MessageBoxA(hwndDlg, Translate("Please wait, gameini will be currently parsed ..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
+ MessageBoxA(hwndDlg, Translate("Please wait, game.ini will be currently parsed..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
return FALSE;
}
return SendMessage(GetParent(hwndDlg),WM_CLOSE,0,0);
@@ -509,7 +509,7 @@ INT_PTR CALLBACK DlgAddGameProc (HWND hwndDlg,
case WM_CLOSE:
//nicht schließen, wenn noch der thread läuft
if(dontClose) {
- MessageBoxA(hwndDlg, Translate("Please wait, gameini will be currently parsed ..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
+ MessageBoxA(hwndDlg, Translate("Please wait, game.ini will be currently parsed..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
return FALSE;
}
//hauptfenster schließen
@@ -608,7 +608,7 @@ INT_PTR CALLBACK DlgAddGameProc2 (HWND hwndDlg,
{
//nicht schließen, wenn noch der thread läuft
if(dontClose) {
- MessageBoxA(hwndDlg, Translate("Please wait, gameini will be currently parsed ..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
+ MessageBoxA(hwndDlg, Translate("Please wait, game.ini will be currently parsed..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
return FALSE;
}
return SendMessage(GetParent(hwndDlg),WM_CLOSE,0,0);
@@ -619,7 +619,7 @@ INT_PTR CALLBACK DlgAddGameProc2 (HWND hwndDlg,
//fillgames sucht noch
if(dontClose) {
- MessageBoxA(hwndDlg, Translate("Please wait, gameini will be currently parsed ..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
+ MessageBoxA(hwndDlg, Translate("Please wait, gameþini will be currently parsed..."), Translate("XFire Options"), MB_OK|MB_ICONEXCLAMATION);
return FALSE;
}
diff --git a/protocols/Xfire/src/all_statusmsg.cpp b/protocols/Xfire/src/all_statusmsg.cpp
index 20b474ea3d..7f349b8261 100644
--- a/protocols/Xfire/src/all_statusmsg.cpp
+++ b/protocols/Xfire/src/all_statusmsg.cpp
@@ -28,7 +28,7 @@ BOOL BackupStatusMsg() {
statustype=db_get_b(NULL,protocolname,"statuschgtype",0);
- XFireLog("Backup Status Message ...");
+ XFireLog("Backup Status Message...");
//alten vector löschen
if(olstatusmsg!=NULL)
diff --git a/protocols/Xfire/src/buddylist.cpp b/protocols/Xfire/src/buddylist.cpp
index 6106834065..a1ebd36ebe 100644
--- a/protocols/Xfire/src/buddylist.cpp
+++ b/protocols/Xfire/src/buddylist.cpp
@@ -214,10 +214,10 @@ namespace xfirelib {
entry->game2 = buddiesGames->gameids->at(i);
delete entry->game2Obj; entry->game2Obj = NULL;
}
- XDEBUG(( "Resolving Game ... \n" ));
+ XDEBUG(( "Resolving Game... \n" ));
XFireGameResolver *resolver = client->getGameResolver();
if(resolver) {
- XDEBUG(( "Resolving Game ... \n" ));
+ XDEBUG(( "Resolving Game... \n" ));
if(isFirst)
entry->gameObj = resolver->resolveGame( entry->game, i, buddiesGames );
else
diff --git a/protocols/Xfire/src/client.cpp b/protocols/Xfire/src/client.cpp
index 336ab6b720..e878345f07 100644
--- a/protocols/Xfire/src/client.cpp
+++ b/protocols/Xfire/src/client.cpp
@@ -60,7 +60,7 @@ namespace xfirelib {
using namespace std;
Client::Client() {
- XDEBUG(("Client constructor ...\n"));
+ XDEBUG(("Client constructor...\n"));
gameResolver = NULL;
packetReader = new PacketReader(NULL);
packetReader->addPacketListener( this );
@@ -73,7 +73,7 @@ using namespace std;
}
Client::~Client(){
- XDEBUG(("Client destructor ...\n"));
+ XDEBUG(("Client destructor...\n"));
delete username;
delete password;
delete buddyList;
@@ -212,17 +212,17 @@ using namespace std;
if(this->packetReader!=NULL)
this->packetReader->setSocket(NULL);
- XDEBUG( "cancelling readthread ... \n");
+ XDEBUG( "cancelling readthread... \n");
#ifndef NO_PTHREAD
if(readthread.p!=NULL) pthread_cancel (readthread);
readthread.p=NULL;
- XDEBUG( "cancelling sendpingthread ... \n");
+ XDEBUG( "cancelling sendpingthread... \n");
if(sendpingthread.p!=NULL) pthread_cancel (sendpingthread);
sendpingthread.p=NULL;
#endif
- XDEBUG( "deleting socket ...\n" );
+ XDEBUG( "deleting socket...\n" );
if(socket){
delete socket;
socket = NULL;
@@ -288,7 +288,7 @@ using namespace std;
}
default:
- //cout << "Nothing here ... " << endl;
+ //cout << "Nothing here... " << endl;
break;
}
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index 3c1a1f02ab..c76e364f38 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -1191,7 +1191,7 @@ extern "C" __declspec(dllexport) int Load(void)
mi.position = 500090000;
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.pszContactOwner=protocolname;
- mi.ptszName = LPGENT("Join &Game ...");
+ mi.ptszName = LPGENT("Join &Game...");
joingame=Menu_AddContactMenuItem(&mi);
//joinmenüpunkt
@@ -1202,7 +1202,7 @@ extern "C" __declspec(dllexport) int Load(void)
mi.position = 500090000;
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.pszContactOwner=protocolname;
- mi.ptszName = LPGENT("Play this Game ...");
+ mi.ptszName = LPGENT("Play this game...");
startthisgame=Menu_AddContactMenuItem(&mi);
//remove friend
@@ -1213,7 +1213,7 @@ extern "C" __declspec(dllexport) int Load(void)
mi.position = 2000070000;
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.pszContactOwner=protocolname;
- mi.ptszName = LPGENT("Remove F&riend ...");
+ mi.ptszName = LPGENT("Remove F&riend...");
removefriend=Menu_AddContactMenuItem(&mi);
//block user
@@ -1224,7 +1224,7 @@ extern "C" __declspec(dllexport) int Load(void)
mi.position = 2000070000;
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.pszContactOwner=protocolname;
- mi.ptszName = LPGENT("Block U&ser ...");
+ mi.ptszName = LPGENT("Block U&ser...");
blockfriend=Menu_AddContactMenuItem(&mi);
//my fire profile
@@ -1257,7 +1257,7 @@ extern "C" __declspec(dllexport) int Load(void)
mi.position = 500090000;
mi.hIcon = LoadIcon(hinstance,MAKEINTRESOURCE(ID_OP));
mi.pszContactOwner=protocolname;
- mi.ptszName = LPGENT("&Rescan my Games ...");
+ mi.ptszName = LPGENT("&Rescan my games...");
Menu_AddMainMenuItem(&mi);
strcpy(servicefunction, protocolname);
@@ -2243,12 +2243,12 @@ void gamedetectiont(LPVOID lparam)
DWORD lowpids=db_get_b(NULL,protocolname,"skiplowpid",100);
- //XFireLog("XFire Gamedetectionthread started ...","");
+ //XFireLog("XFire Gamedetectionthread started...","");
while(1)
{
//Sleep(12000);
- //XFireLog("12 Sek warten ...","");
+ //XFireLog("12 Sek warten...","");
if(mySleep(12000,hGameDetection))
{
#ifndef NO_PTHREAD
@@ -2268,7 +2268,7 @@ void gamedetectiont(LPVOID lparam)
if(myClient!=NULL)
if(!myClient->client->connected)
{
- //XFireLog("PID und TSPID resett ...","");
+ //XFireLog("PID und TSPID resett...","");
ts2pid=pid=0;
//voicechat internen status zurücksetzen
voicechat.resetCurrentvoicestatus();
@@ -2277,14 +2277,14 @@ void gamedetectiont(LPVOID lparam)
else*/
{
//erstmal nach TS2 suchen
- //XFireLog("Teamspeak detection ...","");
+ //XFireLog("Teamspeak detection...","");
if(db_get_b(NULL,protocolname,"ts2detection",0))
{
SendGameStatus2Packet *packet = new SendGameStatus2Packet();
if(voicechat.checkVoicechat(packet)) {
if(myClient!=NULL)
{
- XFireLog("Send voicechat infos ...");
+ XFireLog("Send voicechat infos...");
myClient->client->send( packet );
}
}
@@ -2402,7 +2402,7 @@ void gamedetectiont(LPVOID lparam)
if(currentgame!=NULL)
{
- //XFireLog("XFire Gamedetection - Game still running ...","");
+ //XFireLog("XFire Gamedetection - Game still running...","");
//prüf ob das spiel noch offen
ec=0;
@@ -2484,7 +2484,7 @@ void gamedetectiont(LPVOID lparam)
}
else //noch offen
{
- //XFireLog("Spiel noch offen ...","");
+ //XFireLog("Spiel noch offen...","");
//nur nwspiele nach ip/port scannen
if(db_get_b(NULL,protocolname,"ipportdetec",0))
if(currentgame->networkparams!=NULL&&currentgame->send_gameid>0)
@@ -2492,7 +2492,7 @@ void gamedetectiont(LPVOID lparam)
SendGameStatusPacket *packet = new SendGameStatusPacket();
//verscueh serverip und port zu scannen
- XFireLog("IPPort detection ...","");
+ XFireLog("IPPort detection...","");
if(GetServerIPPort(pid,myClient->client->localaddr,myClient->client->llocaladdr,&packet->ip[3],&packet->ip[2],&packet->ip[1],&packet->ip[0],&packet->port))
{
@@ -2519,7 +2519,7 @@ void gamedetectiont(LPVOID lparam)
}
delete packet;
}
- //XFireLog("fertig ...","");
+ //XFireLog("fertig...","");
//packet->=xf[currentgame].gameid2;
}
@@ -2527,13 +2527,13 @@ void gamedetectiont(LPVOID lparam)
}
else
{
- //XFireLog("nach spiel suchen ...","");
+ //XFireLog("nach spiel suchen...","");
//hardcoded game detection
HANDLE hSnapShot = CreateToolhelp32Snapshot ( TH32CS_SNAPALL, 0);
PROCESSENTRY32* processInfo = new PROCESSENTRY32;
processInfo->dwSize = sizeof ( PROCESSENTRY32);
- XFireLog("XFire Gamedetection - Suche laufende Spiele ...");
+ XFireLog("XFire Gamedetection - Suche laufende Spiele...");
//gamelist blocken
xgamelist.Block(TRUE);
diff --git a/protocols/Xfire/src/packetreader.cpp b/protocols/Xfire/src/packetreader.cpp
index d06c480a6e..54ad9d1e23 100644
--- a/protocols/Xfire/src/packetreader.cpp
+++ b/protocols/Xfire/src/packetreader.cpp
@@ -122,12 +122,12 @@ namespace xfirelib {
void PacketReader::run() {
// start receiving on socket...
- XDEBUG(("Starting run() method .... \n"));
+ XDEBUG(("Starting run() method... \n"));
while(socket != NULL) {
string str;
//int b = socket->recv(str);
XFirePacket *packet = new XFirePacket(this);
- XDEBUG(("Waiting for next packet ... \n"));
+ XDEBUG(("Waiting for next packet... \n"));
if(packet==NULL) continue;
packet->recvPacket( socket );
XINFO(("Received packet\n"));
diff --git a/protocols/Xfire/src/searching4games.cpp b/protocols/Xfire/src/searching4games.cpp
index 4ef543cf08..6a5289511b 100644
--- a/protocols/Xfire/src/searching4games.cpp
+++ b/protocols/Xfire/src/searching4games.cpp
@@ -263,7 +263,7 @@ void Scan4Games( LPVOID lparam )
//letztes ergeniss sichern
last_gpps=gpps;
- //las ma mal suchen ....
+ //las ma mal suchen...
gpps=xfire_GetPrivateProfileString(temp, "LongName", "", gamename, 255, inipath);
char entrytype[100]="";
@@ -711,7 +711,7 @@ void Scan4Games( LPVOID lparam )
}
}
- if(hwnd)SetDlgItemTextA(hwnd,IDC_CURRENTGAME,Translate("Write to database ..."));
+ if(hwnd)SetDlgItemTextA(hwnd,IDC_CURRENTGAME,Translate("Write to database..."));
//gefundene games in db eintragen
xgamelist.writeDatabase();
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp
index 74e1a68780..80dde35cc5 100644
--- a/protocols/Xfire/src/tools.cpp
+++ b/protocols/Xfire/src/tools.cpp
@@ -264,7 +264,7 @@ BOOL FindTeamSpeak(DWORD*pid,int*vid) {
PROCESSENTRY32* processInfo = new PROCESSENTRY32;
processInfo->dwSize = sizeof ( PROCESSENTRY32);
-// XFireLog("Scanning for voiceprograms ...");
+// XFireLog("Scanning for voiceprograms...");
while ( Process32Next ( hSnapShot,processInfo ) != FALSE)
diff --git a/protocols/Xfire/src/xfirepacket.cpp b/protocols/Xfire/src/xfirepacket.cpp
index 955881863f..09632137da 100644
--- a/protocols/Xfire/src/xfirepacket.cpp
+++ b/protocols/Xfire/src/xfirepacket.cpp
@@ -65,7 +65,7 @@ namespace xfirelib {
XERROR2("Returned less than 5 ?!: %d\n",r);
throw SocketException("Connection Closed ?");
}
- XDEBUG2("Read %d bytes ...\n", r );
+ XDEBUG2("Read %d bytes...\n", r );
unsigned int len = ((unsigned char)buf[0]) + (((unsigned char)buf[1]) * 256);
int packetid = buf[2];