summaryrefslogtreecommitdiff
path: root/protocols/MSN
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 /protocols/MSN
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 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_chat.cpp4
-rw-r--r--protocols/MSN/src/msn_threads.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp
index bc84f3ad64..dd35207888 100644
--- a/protocols/MSN/src/msn_chat.cpp
+++ b/protocols/MSN/src/msn_chat.cpp
@@ -645,12 +645,12 @@ int CMsnProto::MSN_GCMenuHook(WPARAM, LPARAM lParam)
{ LPGENT("&Op user") , 40, MENU_ITEM, FALSE }
};
GCThreadData* thread = MSN_GetThreadByChatId(gcmi->pszID);
- if (thread && thread->mMe && _tcsicmp(thread->mMe->role, _T("admin"))) {
+ if (thread && thread->mMe && mir_tstrcmpi(thread->mMe->role, _T("admin"))) {
Items[2].bDisabled = TRUE;
Items[3].bDisabled = TRUE;
} else {
const TCHAR *pszRole = MSN_GCGetRole(thread, email);
- if (pszRole && !_tcsicmp(pszRole, _T("admin")))
+ if (pszRole && !mir_tstrcmpi(pszRole, _T("admin")))
Items[3].pszDesc = LPGENT("&Deop user");
}
gcmi->nItems = SIZEOF(Items);
diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp
index beddeb94dd..83ded62832 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -380,7 +380,7 @@ GCThreadData* CMsnProto::MSN_GetThreadByChatId(const TCHAR* chatId)
mir_cslock lck(m_csThreads);
for (int i = 0; i < m_arGCThreads.getCount(); i++) {
GCThreadData *T = m_arGCThreads[i];
- if (_tcsicmp(T->mChatID, chatId) == 0)
+ if (mir_tstrcmpi(T->mChatID, chatId) == 0)
return T;
}