summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/tools.cpp')
-rw-r--r--protocols/Xfire/src/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp
index 05658e1ac8..0b4ccc956d 100644
--- a/protocols/Xfire/src/tools.cpp
+++ b/protocols/Xfire/src/tools.cpp
@@ -211,7 +211,7 @@ char* GetLaunchPath(char*launch)
if (launch == NULL)
return temp;
- strncpy(temp, launch, XFIRE_MAX_STATIC_STRING_LEN -1);
+ mir_strncpy(temp, launch, XFIRE_MAX_STATIC_STRING_LEN -1);
while (*p != 0 && *f != 0)
{