summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src')
-rw-r--r--protocols/Xfire/src/Xfire_base.cpp2
-rw-r--r--protocols/Xfire/src/tools.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 a3247c4301..25990abac9 100644
--- a/protocols/Xfire/src/Xfire_base.cpp
+++ b/protocols/Xfire/src/Xfire_base.cpp
@@ -40,7 +40,7 @@ void Xfire_base::strtolowerT(TCHAR*str)
return;
//lowercase it :)
- for (unsigned int i = 0; i < (int)_tcslen(str); i++)
+ for (unsigned int i = 0; i < (int)mir_tstrlen(str); i++)
{
str[i] = tolower(str[i]);
}
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp
index f2783b6be3..38dcb396e8 100644
--- a/protocols/Xfire/src/tools.cpp
+++ b/protocols/Xfire/src/tools.cpp
@@ -270,7 +270,7 @@ BOOL FindTeamSpeak(DWORD*pid, int*vid) {
while (Process32Next(hSnapShot, processInfo) != FALSE)
{
if (processInfo->th32ProcessID != 0) {
- int size = _tcslen(processInfo->szExeFile);
+ int size = mir_tstrlen(processInfo->szExeFile);
if (size == 13)
{