From b280d2eae93fb22b4fdb45218d8a06287a97030e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:49:22 +0000 Subject: replace _tcscmp to mir_tstrcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_addto.cpp | 2 +- src/modules/metacontacts/meta_utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/metacontacts') diff --git a/src/modules/metacontacts/meta_addto.cpp b/src/modules/metacontacts/meta_addto.cpp index f974b2b3f8..4369b3265c 100644 --- a/src/modules/metacontacts/meta_addto.cpp +++ b/src/modules/metacontacts/meta_addto.cpp @@ -60,7 +60,7 @@ static int FillList(HWND list, BOOL sort) for (pos = 0; pos < i; pos++) { TCHAR buff[1024]; SendMessage(list, LB_GETTEXT, pos, (LPARAM)buff); - if (_tcscmp(buff, swzContactDisplayName) > 0) + if (mir_tstrcmp(buff, swzContactDisplayName) > 0) break; } } diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp index fa0d33caa3..eef6561c16 100644 --- a/src/modules/metacontacts/meta_utils.cpp +++ b/src/modules/metacontacts/meta_utils.cpp @@ -464,7 +464,7 @@ int Meta_CopyContactNick(DBCachedContact *ccMeta, MCONTACT hContact) } else if (options.clist_contact_name == CNNT_DISPLAYNAME) { TCHAR *name = cli.pfnGetContactDisplayName(hContact, 0); - if (name && _tcscmp(name, TranslateT("(Unknown contact)")) != 0) { + if (name && mir_tstrcmp(name, TranslateT("(Unknown contact)")) != 0) { db_set_ts(ccMeta->contactID, META_PROTO, "Nick", name); return 0; } -- cgit v1.2.3