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 ae4930313b..271237e574 100644
--- a/plugins/ExternalAPI/m_folders.h
+++ b/plugins/ExternalAPI/m_folders.h
@@ -209,10 +209,10 @@ __inline static INT_PTR FoldersGetCustomPathEx(HANDLE hFolderEntry, char *path,
}
if (path[0] != '\0')
- strncat(path, "\\", size - mir_strlen(path));
+ mir_strncat(path, "\\", size - mir_strlen(path));
if (fileName)
- strncat(path, fileName, size - mir_strlen(path));
+ mir_strncat(path, fileName, size - mir_strlen(path));
return res;
}