From 159b565b390687258ee65a3b66596e118752063c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:33:13 +0000 Subject: replace strcmp to mir_strcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_game.cpp | 2 +- protocols/Xfire/src/Xfire_gamelist.cpp | 2 +- protocols/Xfire/src/main.cpp | 6 +++--- protocols/Xfire/src/searching4games.cpp | 2 +- protocols/Xfire/src/variables.cpp | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'protocols/Xfire/src') 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, "\\"); } -- cgit v1.2.3