summaryrefslogtreecommitdiff
path: root/plugins/RemovePersonalSettings/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
commit159b565b390687258ee65a3b66596e118752063c (patch)
tree91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/RemovePersonalSettings/src
parent7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff)
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RemovePersonalSettings/src')
-rw-r--r--plugins/RemovePersonalSettings/src/rps.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp
index cc646f791c..aa654a90c3 100644
--- a/plugins/RemovePersonalSettings/src/rps.cpp
+++ b/plugins/RemovePersonalSettings/src/rps.cpp
@@ -566,7 +566,7 @@ void DeleteFileOrFolder(const char *name)
}
do {
- if (strcmp(findData.cFileName, ".") && strcmp(findData.cFileName, "..")) {
+ if (mir_strcmp(findData.cFileName, ".") && mir_strcmp(findData.cFileName, "..")) {
strcpy(strTmp, findData.cFileName);
DeleteFileOrFolder(tmp);
}
@@ -586,7 +586,7 @@ void DeleteFileOrFolder(const char *name)
HANDLE hwnd = FindFirstFileA(tmp, &findData);
if (hwnd != INVALID_HANDLE_VALUE) {
do {
- if (strcmp(findData.cFileName, ".") && strcmp(findData.cFileName, "..")) {
+ if (mir_strcmp(findData.cFileName, ".") && mir_strcmp(findData.cFileName, "..")) {
mir_snprintf(tmp, SIZEOF(tmp), "%s\\%s", name, findData.cFileName);
DeleteFileOrFolder(tmp);
}
@@ -629,7 +629,7 @@ int EnumProc(const char *szName, LPARAM lParam)
if (dms->filter != NULL && dms->lenFilterMinusOne > 0) {
if (len >= dms->lenFilterMinusOne) {
if (dms->filter[0] == '*') {
- if (strcmp(&dms->filter[1], &szName[len - dms->lenFilterMinusOne]) != 0)
+ if (mir_strcmp(&dms->filter[1], &szName[len - dms->lenFilterMinusOne]) != 0)
return 0;
}
else { // if (dms->filter[dms->lenFilterMinusOne] == '*')