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 --- protocols/WhatsApp/src/theme.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/WhatsApp/src/theme.cpp') diff --git a/protocols/WhatsApp/src/theme.cpp b/protocols/WhatsApp/src/theme.cpp index 768ad6cccf..e5c5b6c9f5 100644 --- a/protocols/WhatsApp/src/theme.cpp +++ b/protocols/WhatsApp/src/theme.cpp @@ -16,7 +16,7 @@ void InitIcons(void) HANDLE GetIconHandle(const char* name) { for (size_t i = 0; i < SIZEOF(icons); i++) - if (strcmp(icons[i].szName, name) == 0) + if (mir_strcmp(icons[i].szName, name) == 0) return icons[i].hIcolib; return 0; @@ -25,7 +25,7 @@ HANDLE GetIconHandle(const char* name) char* GetIconDescription(const char* name) { for (size_t i = 0; i < SIZEOF(icons); i++) - if (strcmp(icons[i].szName, name) == 0) + if (mir_strcmp(icons[i].szName, name) == 0) return icons[i].szDescr; return ""; @@ -39,7 +39,7 @@ static WhatsAppProto* GetInstanceByHContact(MCONTACT hContact) return 0; for (int i = 0; i < g_Instances.getCount(); i++) - if (!strcmp(proto, g_Instances[i].m_szModuleName)) + if (!mir_strcmp(proto, g_Instances[i].m_szModuleName)) return &g_Instances[i]; return 0; -- cgit v1.2.3