summaryrefslogtreecommitdiff
path: root/plugins/YAMN
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN')
-rw-r--r--plugins/YAMN/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp
index a837cda3b7..8d09e8240f 100644
--- a/plugins/YAMN/src/main.cpp
+++ b/plugins/YAMN/src/main.cpp
@@ -78,7 +78,7 @@ static void GetProfileDirectory(TCHAR *szPath, int cbPath)
_T("") };
SHFileOperation(&file_op);
- _tcsncpy(szPath, ptszNewPath, cbPath);
+ mir_tstrncpy(szPath, ptszNewPath, cbPath);
}
/////////////////////////////////////////////////////////////////////////////////////////