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/Nudge/src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Nudge') diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index c982d21336..7859e28be8 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -34,7 +34,7 @@ INT_PTR NudgeShowMenu(WPARAM wParam, LPARAM lParam) bool bEnabled = false; for (int i = 0; i < arNudges.getCount(); i++) { CNudgeElement &p = arNudges[i]; - if (!strcmp((char*)wParam, p.ProtocolName)) { + if (!mir_strcmp((char*)wParam, p.ProtocolName)) { bEnabled = (GlobalNudge.useByProtocol) ? p.enabled : DefaultNudge.enabled; break; } @@ -54,7 +54,7 @@ INT_PTR NudgeSend(WPARAM hContact, LPARAM lParam) if (GlobalNudge.useByProtocol) { for (int i = 0; i < arNudges.getCount(); i++) { CNudgeElement &p = arNudges[i]; - if (!strcmp(protoName, p.ProtocolName)) + if (!mir_strcmp(protoName, p.ProtocolName)) Nudge_ShowPopup(&p, hContact, msg); } } @@ -68,7 +68,7 @@ INT_PTR NudgeSend(WPARAM hContact, LPARAM lParam) if (GlobalNudge.useByProtocol) { for (int i = 0; i < arNudges.getCount(); i++) { CNudgeElement &p = arNudges[i]; - if (!strcmp(protoName, p.ProtocolName)) + if (!mir_strcmp(protoName, p.ProtocolName)) if (p.showStatus) Nudge_SentStatus(&p, hContact); } @@ -105,7 +105,7 @@ int NudgeReceived(WPARAM hContact, LPARAM lParam) if (GlobalNudge.useByProtocol) { for (int i = 0; i < arNudges.getCount(); i++) { CNudgeElement &p = arNudges[i]; - if (!strcmp(protoName, p.ProtocolName)) { + if (!mir_strcmp(protoName, p.ProtocolName)) { if (p.enabled) { if (p.useIgnoreSettings && CallService(MS_IGNORE_ISIGNORED, hContact, IGNOREEVENT_USERONLINE)) @@ -240,7 +240,7 @@ static int TabsrmmButtonPressed(WPARAM wParam, LPARAM lParam) { CustomButtonClickData *cbcd = (CustomButtonClickData *)lParam; - if (!strcmp(cbcd->pszModule, "Nudge")) + if (!mir_strcmp(cbcd->pszModule, "Nudge")) NudgeSend(wParam, 0); return 0; -- cgit v1.2.3