diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:23:27 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:23:27 +0000 |
commit | 1eb922f8075c53a1a8487045b096693bd27b56dd (patch) | |
tree | 2e4ec55f37aaa42d1f93d8a58fcde6c74b2025bb /protocols/Xfire/src | |
parent | e2d7ebd6315a810bd4ea54f1088b84d09c3ca5d2 (diff) |
replace _tcsicmp to mir_tstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src')
-rw-r--r-- | protocols/Xfire/src/Xfire_base.cpp | 2 | ||||
-rw-r--r-- | protocols/Xfire/src/Xfire_game.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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))
|