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/Folders/src/dlg_handlers.cpp | 2 +- plugins/Folders/src/folderItem.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Folders/src') diff --git a/plugins/Folders/src/dlg_handlers.cpp b/plugins/Folders/src/dlg_handlers.cpp index 23e1fc2a4a..02c75a13cb 100644 --- a/plugins/Folders/src/dlg_handlers.cpp +++ b/plugins/Folders/src/dlg_handlers.cpp @@ -60,7 +60,7 @@ static void LoadRegisteredFolderItems(HWND hWnd) for (int i = 0; i < lstRegisteredFolders.getCount(); i++) { CFolderItem &item = lstRegisteredFolders[i]; - if (!strcmp(szSection, item.GetSection())) { + if (!mir_strcmp(szSection, item.GetSection())) { idx = SendMessage(hwndItems, LB_ADDSTRING, 0, (LPARAM)TranslateTS(item.GetUserName())); SendMessage(hwndItems, LB_SETITEMDATA, idx, (LPARAM)&item); } diff --git a/plugins/Folders/src/folderItem.cpp b/plugins/Folders/src/folderItem.cpp index c00ef0cef6..d28872742e 100644 --- a/plugins/Folders/src/folderItem.cpp +++ b/plugins/Folders/src/folderItem.cpp @@ -57,12 +57,12 @@ int CFolderItem::IsEqual(const CFolderItem *other) int CFolderItem::IsEqual(const char *section, const TCHAR *name) { - return !_tcscmp(m_tszUserName, name) && !strcmp(m_szSection, section); + return !_tcscmp(m_tszUserName, name) && !mir_strcmp(m_szSection, section); } int CFolderItem::IsEqualTranslated(const char *trSection, const TCHAR *trName) { - return !_tcscmp(TranslateTS(m_tszUserName), trName) && !strcmp(Translate(m_szSection), trSection); + return !_tcscmp(TranslateTS(m_tszUserName), trName) && !mir_strcmp(Translate(m_szSection), trSection); } int CFolderItem::operator ==(const CFolderItem *other) -- cgit v1.2.3