summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-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 8d09e8240f..a837cda3b7 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);
- mir_tstrncpy(szPath, ptszNewPath, cbPath);
+ _tcsncpy(szPath, ptszNewPath, cbPath);
}
/////////////////////////////////////////////////////////////////////////////////////////