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/MenuItemEx/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/MenuItemEx') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 0d30f8bf24..1a379b065a 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -694,7 +694,7 @@ INT_PTR onChangeProto(WPARAM wparam, LPARAM lparam) { MCONTACT hContact = (MCONTACT)wparam, hContactNew; char* szProto = GetContactProto(hContact); - if (!strcmp(szProto, (char*)lparam)) + if (!mir_strcmp(szProto, (char*)lparam)) return 0; if (CTRL_IS_PRESSED) { @@ -815,7 +815,7 @@ int BuildMenu(WPARAM wparam, LPARAM) if (pa && (bShowAll || (flags & VF_PROTO))) { for (int i = 0; i < protoCount; i++) { - if ((!accs[i]->bIsEnabled) || (strcmp(pa->szProtoName, accs[i]->szProtoName))) + if ((!accs[i]->bIsEnabled) || (mir_strcmp(pa->szProtoName, accs[i]->szProtoName))) hide = 1; else { hide = 0; @@ -900,7 +900,7 @@ static int TabsrmmButtonPressed(WPARAM wParam, LPARAM lParam) { CustomButtonClickData *cbcd = (CustomButtonClickData *)lParam; - if (!strcmp(cbcd->pszModule, MODULENAME) && cbcd->dwButtonId == 0) + if (!mir_strcmp(cbcd->pszModule, MODULENAME) && cbcd->dwButtonId == 0) onRecvFiles(wParam, 0); return 0; -- cgit v1.2.3