summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/Xfire_base.cpp2
-rw-r--r--protocols/Xfire/src/Xfire_game.cpp2
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))