summaryrefslogtreecommitdiff
path: root/plugins/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/helpers')
-rw-r--r--plugins/helpers/gen_helpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/helpers/gen_helpers.cpp b/plugins/helpers/gen_helpers.cpp
index edfaff270d..cda62e18de 100644
--- a/plugins/helpers/gen_helpers.cpp
+++ b/plugins/helpers/gen_helpers.cpp
@@ -108,7 +108,7 @@ int AddDebugLogMessage(const TCHAR* fmt, ...)
#ifdef MODULENAME
mir_sntprintf(tszFinal, SIZEOF(tszFinal), _T("%s: %s"), MODULENAME, tszText);
#else
- _tcsncpy(tszFinal, tszText, SIZEOF(tszFinal));
+ mir_tstrncpy(tszFinal, tszText, SIZEOF(tszFinal));
#endif