summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_folders.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI/m_folders.h')
-rw-r--r--plugins/ExternalAPI/m_folders.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ExternalAPI/m_folders.h b/plugins/ExternalAPI/m_folders.h
index 34c00ac33e..076247480d 100644
--- a/plugins/ExternalAPI/m_folders.h
+++ b/plugins/ExternalAPI/m_folders.h
@@ -232,10 +232,10 @@ __inline static INT_PTR FoldersGetCustomPathExW(HANDLE hFolderEntry, wchar_t *pa
}
if (pathW[0] != '\0')
- wcsncat(pathW, L"\\", size - mir_wstrlen(pathW));
+ mir_wstrncat(pathW, L"\\", size - mir_wstrlen(pathW));
if (fileNameW)
- wcsncat(pathW, fileNameW, size - mir_wstrlen(pathW));
+ mir_wstrncat(pathW, fileNameW, size - mir_wstrlen(pathW));
return res;
}