summaryrefslogtreecommitdiff
path: root/plugins/KeyboardNotify/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:33:13 +0000
commit159b565b390687258ee65a3b66596e118752063c (patch)
tree91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/KeyboardNotify/src
parent7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (diff)
replace strcmp to mir_strcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/KeyboardNotify/src')
-rw-r--r--plugins/KeyboardNotify/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp
index eb6b3f68ff..85932785a4 100644
--- a/plugins/KeyboardNotify/src/main.cpp
+++ b/plugins/KeyboardNotify/src/main.cpp
@@ -223,7 +223,7 @@ BOOL checkProtocol(char *szProto)
return FALSE;
for (int i=0; i < ProtoList.protoCount; i++)
- if (ProtoList.protoInfo[i].szProto && !strcmp(ProtoList.protoInfo[i].szProto, szProto))
+ if (ProtoList.protoInfo[i].szProto && !mir_strcmp(ProtoList.protoInfo[i].szProto, szProto))
return ProtoList.protoInfo[i].enabled;
return FALSE;
@@ -233,7 +233,7 @@ BOOL metaCheckProtocol(char *szProto, MCONTACT hContact, WORD eventType)
{
MCONTACT hSubContact=NULL;
- if (bMetaProtoEnabled && szProto && !strcmp(META_PROTO, szProto))
+ if (bMetaProtoEnabled && szProto && !mir_strcmp(META_PROTO, szProto))
if (hSubContact = db_mc_getMostOnline(hContact))
szProto = GetContactProto(hSubContact);
@@ -378,7 +378,7 @@ BOOL checkXstatus(char *szProto)
return checkGlobalXstatus();
for (int i=0; i < ProtoList.protoCount; i++)
- if (ProtoList.protoInfo[i].szProto && !strcmp(ProtoList.protoInfo[i].szProto, szProto)) {
+ if (ProtoList.protoInfo[i].szProto && !mir_strcmp(ProtoList.protoInfo[i].szProto, szProto)) {
if (!ProtoList.protoInfo[i].xstatus.count) return TRUE;
// Retrieve xstatus for protocol
@@ -670,7 +670,7 @@ void createProtocolList(void)
else {
strcpy(ProtoList.protoInfo[i].szProto, proto[i]->szModuleName);
ProtoList.protoInfo[i].enabled = FALSE;
- if (!strcmp(proto[i]->szModuleName, META_PROTO))
+ if (!mir_strcmp(proto[i]->szModuleName, META_PROTO))
ProtoList.protoInfo[i].visible = FALSE;
else {
ProtoList.protoInfo[i].visible = TRUE;