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