diff options
Diffstat (limited to 'plugins/Folders/src/services.cpp')
-rw-r--r-- | plugins/Folders/src/services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Folders/src/services.cpp b/plugins/Folders/src/services.cpp index b8ec3c4ae9..008daa2254 100644 --- a/plugins/Folders/src/services.cpp +++ b/plugins/Folders/src/services.cpp @@ -39,7 +39,7 @@ INT_PTR ExpandPath(TCHAR *szResult, TCHAR *format, int size) input = mir_tstrdup(format);
TCHAR *core_result = Utils_ReplaceVarsT(input);
- _tcsncpy(szResult, core_result, size);
+ mir_tstrncpy(szResult, core_result, size);
mir_free(core_result);
|