summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/folderItem.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:49:22 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:49:22 +0000
commitb280d2eae93fb22b4fdb45218d8a06287a97030e (patch)
treef4e0d9921a57bafdb608a55a107bad3408b8f909 /plugins/Folders/src/folderItem.cpp
parent159b565b390687258ee65a3b66596e118752063c (diff)
replace _tcscmp to mir_tstrcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/folderItem.cpp')
-rw-r--r--plugins/Folders/src/folderItem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Folders/src/folderItem.cpp b/plugins/Folders/src/folderItem.cpp
index d28872742e..5647d03250 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) && !mir_strcmp(m_szSection, section);
+ return !mir_tstrcmp(m_tszUserName, name) && !mir_strcmp(m_szSection, section);
}
int CFolderItem::IsEqualTranslated(const char *trSection, const TCHAR *trName)
{
- return !_tcscmp(TranslateTS(m_tszUserName), trName) && !mir_strcmp(Translate(m_szSection), trSection);
+ return !mir_tstrcmp(TranslateTS(m_tszUserName), trName) && !mir_strcmp(Translate(m_szSection), trSection);
}
int CFolderItem::operator ==(const CFolderItem *other)
@@ -101,7 +101,7 @@ int CFolderItem::FolderDeleteOldDirectory(int showFolder)
if (!m_tszOldFormat)
return FOLDER_SUCCESS;
- if (!_tcscmp(m_tszFormat, m_tszOldFormat)) //format wasn't changed
+ if (!mir_tstrcmp(m_tszFormat, m_tszOldFormat)) //format wasn't changed
return FOLDER_SUCCESS;
TCHAR buffer[MAX_FOLDER_SIZE];