summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
commit159b565b390687258ee65a3b66596e118752063c (patch)
tree91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /protocols/Xfire
parent7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff)
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/Xfire_game.cpp2
-rw-r--r--protocols/Xfire/src/Xfire_gamelist.cpp2
-rw-r--r--protocols/Xfire/src/main.cpp6
-rw-r--r--protocols/Xfire/src/searching4games.cpp2
-rw-r--r--protocols/Xfire/src/variables.cpp8
5 files changed, 10 insertions, 10 deletions
diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp
index 167495b2d6..c792d791a8 100644
--- a/protocols/Xfire/src/Xfire_game.cpp
+++ b/protocols/Xfire/src/Xfire_game.cpp
@@ -202,7 +202,7 @@ BOOL Xfire_game::checkpath(PROCESSENTRY32* processInfo)
this->strtolowerT(fpath);
if (this->wildcmp(_A2T(this->path), fpath))
- //if (strcmp(this->path,fpath)==0)
+ //if (mir_strcmp(this->path,fpath)==0)
{
//pfad stimmt überein, commandline prüfen
if (checkCommandLine(op, this->mustcontain, this->notcontain))
diff --git a/protocols/Xfire/src/Xfire_gamelist.cpp b/protocols/Xfire/src/Xfire_gamelist.cpp
index 4e98b8e381..643f97f037 100644
--- a/protocols/Xfire/src/Xfire_gamelist.cpp
+++ b/protocols/Xfire/src/Xfire_gamelist.cpp
@@ -154,7 +154,7 @@ void Xfire_gamelist::createStartmenu()
Xfire_game* game = (Xfire_game*)gamelist.at(sorttemp[i - 1]);
Xfire_game* game2 = (Xfire_game*)gamelist.at(sorttemp[i]);
//sortieren
- if (strcmp(game->name, game2->name) > 0)
+ if (mir_strcmp(game->name, game2->name) > 0)
{
int tempi = sorttemp[i - 1];
sorttemp[i - 1] = sorttemp[i];
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index f2aac56cde..a94599b1f3 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -829,7 +829,7 @@ INT_PTR UrlCall(WPARAM wparam, LPARAM lparam) {
//abschneiden
*q = 0;
//ein addfriend url request?
- if (strcmp("add_friend", type) == 0)
+ if (mir_strcmp("add_friend", type) == 0)
{
q++;
//nach = suchen
@@ -840,7 +840,7 @@ INT_PTR UrlCall(WPARAM wparam, LPARAM lparam) {
*g = 0;
g++;
//user parameter?
- if (strcmp("user", q) == 0)
+ if (mir_strcmp("user", q) == 0)
{
//tempbuffer für die frage and en user
char temp[100];
@@ -2800,7 +2800,7 @@ MCONTACT handlingBuddys(BuddyListEntry *entry, int clan, char*group, BOOL dontsc
}
else
{
- if (strcmp(entry->lastpopup, temp) != 0)
+ if (mir_strcmp(entry->lastpopup, temp) != 0)
{
delete[] entry->lastpopup;
entry->lastpopup = NULL;
diff --git a/protocols/Xfire/src/searching4games.cpp b/protocols/Xfire/src/searching4games.cpp
index a73e624d56..e9d70c319e 100644
--- a/protocols/Xfire/src/searching4games.cpp
+++ b/protocols/Xfire/src/searching4games.cpp
@@ -269,7 +269,7 @@ void Scan4Games(LPVOID lparam)
if (gpps != NULL) xfire_GetPrivateProfileString(temp, "SoftwareType", "", entrytype, 100, inipath);
//kein eintrag? voicechat? musiapplicationen? schon in der gameliste?
- if (gpps != NULL && strcmp(entrytype, "Music") != 0 && strcmp(entrytype, "VoiceChat") != 0 && !xgamelist.Gameinlist(i)) //was gefunden und noch nicht eintragen?
+ if (gpps != NULL && mir_strcmp(entrytype, "Music") != 0 && mir_strcmp(entrytype, "VoiceChat") != 0 && !xgamelist.Gameinlist(i)) //was gefunden und noch nicht eintragen?
{
BOOL MatchExe = FALSE;
//MatchExe Games in der automatischen Suche skippen
diff --git a/protocols/Xfire/src/variables.cpp b/protocols/Xfire/src/variables.cpp
index 45873fd9a4..1cf26c35be 100644
--- a/protocols/Xfire/src/variables.cpp
+++ b/protocols/Xfire/src/variables.cpp
@@ -165,13 +165,13 @@ char* XFireGetFoldersPath(char * pathtype)
{// Get XFire folder path
static char path[1024]; path[0] = 0;
if (ServiceExists(MS_FOLDERS_REGISTER_PATH)){
- if (!strcmp(pathtype, "Avatar")){
+ if (!mir_strcmp(pathtype, "Avatar")){
FoldersGetCustomPath(XFireAvatarFolder, path, 1024, "");
}
- if (!strcmp(pathtype, "IniFile")){
+ if (!mir_strcmp(pathtype, "IniFile")){
FoldersGetCustomPath(XFireWorkingFolder, path, 1024, "");
}
- if (!strcmp(pathtype, "IconsFile")){
+ if (!mir_strcmp(pathtype, "IconsFile")){
FoldersGetCustomPath(XFireIconFolder, path, 1024, "");
}
strcat(path, "\\");
@@ -198,7 +198,7 @@ char* XFireGetFoldersPath(char * pathtype)
strcat(BaseFolder, "XFire");
strcat(BaseFolder, "\\");
/*******BASE********/
- if (!strcmp(pathtype, "Avatar")){
+ if (!mir_strcmp(pathtype, "Avatar")){
strcat(BaseFolder, "Avatars");
strcat(BaseFolder, "\\");
}