summaryrefslogtreecommitdiff
path: root/plugins/DbChecker
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:23:27 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:23:27 +0000
commit1eb922f8075c53a1a8487045b096693bd27b56dd (patch)
tree2e4ec55f37aaa42d1f93d8a58fcde6c74b2025bb /plugins/DbChecker
parente2d7ebd6315a810bd4ea54f1088b84d09c3ca5d2 (diff)
replace _tcsicmp to mir_tstrcmpi
git-svn-id: http://svn.miranda-ng.org/main/trunk@13761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbChecker')
-rw-r--r--plugins/DbChecker/src/selectdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DbChecker/src/selectdb.cpp b/plugins/DbChecker/src/selectdb.cpp
index 74417f1c12..12cd47105b 100644
--- a/plugins/DbChecker/src/selectdb.cpp
+++ b/plugins/DbChecker/src/selectdb.cpp
@@ -95,7 +95,7 @@ static int AddDatabaseToList(HWND hwndList, const TCHAR* filename, TCHAR* dir)
lvi.iSubItem = 0;
for (lvi.iItem = ListView_GetItemCount(hwndList) - 1; lvi.iItem >= 0; lvi.iItem--) {
ListView_GetItem(hwndList, &lvi);
- if (!_tcsicmp((TCHAR*)lvi.lParam, filename))
+ if (!mir_tstrcmpi((TCHAR*)lvi.lParam, filename))
return lvi.iItem;
}
@@ -117,7 +117,7 @@ static int AddDatabaseToList(HWND hwndList, const TCHAR* filename, TCHAR* dir)
mir_sntprintf(szName, SIZEOF(szName), _T("%s%s"), dir, pName);
TCHAR *pDot = _tcsrchr(szName, '.');
- if (pDot != NULL && !_tcsicmp(pDot, _T(".dat")))
+ if (pDot != NULL && !mir_tstrcmpi(pDot, _T(".dat")))
*pDot = 0;
lvi.iItem = 0;