From 1eb922f8075c53a1a8487045b096693bd27b56dd Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:23:27 +0000 Subject: replace _tcsicmp to mir_tstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_base.cpp | 2 +- protocols/Xfire/src/Xfire_game.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Xfire') diff --git a/protocols/Xfire/src/Xfire_base.cpp b/protocols/Xfire/src/Xfire_base.cpp index 25990abac9..dca9b7a3c3 100644 --- a/protocols/Xfire/src/Xfire_base.cpp +++ b/protocols/Xfire/src/Xfire_base.cpp @@ -627,7 +627,7 @@ BOOL Xfire_base::getPidByProcessName(TCHAR *name, DWORD *pid) { while (Process32Next(hSnapShot, processInfo) != FALSE) { if (processInfo->th32ProcessID != 0) { - if (_tcsicmp(processInfo->szExeFile, name) == 0) + if (mir_tstrcmpi(processInfo->szExeFile, name) == 0) { *pid = processInfo->th32ProcessID; CloseHandle(hSnapShot); diff --git a/protocols/Xfire/src/Xfire_game.cpp b/protocols/Xfire/src/Xfire_game.cpp index c792d791a8..f570dee912 100644 --- a/protocols/Xfire/src/Xfire_game.cpp +++ b/protocols/Xfire/src/Xfire_game.cpp @@ -218,7 +218,7 @@ BOOL Xfire_game::checkpath(PROCESSENTRY32* processInfo) int size = mpath.size(); for (int j = 0; j < size; j++) { - if (_tcsicmp(_A2T(mpath.at(j)), fpath) == 0) + if (mir_tstrcmpi(_A2T(mpath.at(j)), fpath) == 0) { //pfad stimmt überein, commandline prüfen if (checkCommandLine(op, this->mustcontain, this->notcontain)) -- cgit v1.2.3