summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/services.cpp')
-rw-r--r--protocols/Xfire/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/services.cpp b/protocols/Xfire/src/services.cpp
index 380308cc14..2955dc85fc 100644
--- a/protocols/Xfire/src/services.cpp
+++ b/protocols/Xfire/src/services.cpp
@@ -58,7 +58,7 @@ INT_PTR GetMyAvatar(WPARAM wparam, LPARAM lparam) {
if (!db_get(NULL, protocolname, "MyAvatarFile", &dbv))
{
- strncpy((char*)wparam, dbv.pszVal, (int)lparam);
+ mir_strncpy((char*)wparam, dbv.pszVal, (int)lparam);
db_free(&dbv);
return 0;
}