From 159b565b390687258ee65a3b66596e118752063c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:33:13 +0000 Subject: replace strcmp to mir_strcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/RemovePersonalSettings/src/rps.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/RemovePersonalSettings') 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] == '*') -- cgit v1.2.3