summaryrefslogtreecommitdiff
path: root/plugins/RemovePersonalSettings/src/rps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RemovePersonalSettings/src/rps.cpp')
-rw-r--r--plugins/RemovePersonalSettings/src/rps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp
index 06082185ae..d15119b7f9 100644
--- a/plugins/RemovePersonalSettings/src/rps.cpp
+++ b/plugins/RemovePersonalSettings/src/rps.cpp
@@ -553,7 +553,7 @@ void DeleteFileOrFolder(const char *name)
WIN32_FIND_DATAA findData;
HANDLE hwnd = FindFirstFileA(name, &findData);
if (hwnd != INVALID_HANDLE_VALUE) {
- mir_strncpy(tmp, name, sizeof(tmp)-1);
+ strncpy(tmp, name, sizeof(tmp)-1);
strTmp = strrchr(tmp,'\\');
if(strTmp != NULL) {