summaryrefslogtreecommitdiff
path: root/plugins/IEView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView')
-rw-r--r--plugins/IEView/src/HTMLBuilder.cpp6
-rw-r--r--plugins/IEView/src/Options.cpp2
-rw-r--r--plugins/IEView/src/Template.cpp8
3 files changed, 8 insertions, 8 deletions
diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp
index de2e5e7b61..3a4031f2ec 100644
--- a/plugins/IEView/src/HTMLBuilder.cpp
+++ b/plugins/IEView/src/HTMLBuilder.cpp
@@ -127,7 +127,7 @@ char* HTMLBuilder::getRealProto(MCONTACT hContact)
return NULL;
char *szProto = mir_strdup(GetContactProto(hContact));
- if (szProto != NULL && !strcmp(szProto, META_PROTO)) {
+ if (szProto != NULL && !mir_strcmp(szProto, META_PROTO)) {
hContact = db_mc_getMostOnline(hContact);
if (hContact != NULL)
replaceStr(szProto, GetContactProto(hContact));
@@ -137,7 +137,7 @@ char* HTMLBuilder::getRealProto(MCONTACT hContact)
char* HTMLBuilder::getRealProto(MCONTACT hContact, const char *szProto)
{
- if (szProto != NULL && !strcmp(szProto, META_PROTO)) {
+ if (szProto != NULL && !mir_strcmp(szProto, META_PROTO)) {
hContact = db_mc_getMostOnline(hContact);
if (hContact != NULL)
return mir_strdup(GetContactProto(hContact));
@@ -148,7 +148,7 @@ char* HTMLBuilder::getRealProto(MCONTACT hContact, const char *szProto)
MCONTACT HTMLBuilder::getRealContact(MCONTACT hContact)
{
char *szProto = GetContactProto(hContact);
- if (szProto != NULL && !strcmp(szProto, META_PROTO))
+ if (szProto != NULL && !mir_strcmp(szProto, META_PROTO))
hContact = db_mc_getMostOnline(hContact);
return hContact;
}
diff --git a/plugins/IEView/src/Options.cpp b/plugins/IEView/src/Options.cpp
index 7d5528eb9d..bd63b8a9aa 100644
--- a/plugins/IEView/src/Options.cpp
+++ b/plugins/IEView/src/Options.cpp
@@ -1489,7 +1489,7 @@ void Options::init()
proto = new ProtocolSettings("_default_");
proto->setSRMMEnable(true);
}
- else if (strcmp(pProtos[i - 1]->szModuleName, META_PROTO)) {
+ else if (mir_strcmp(pProtos[i - 1]->szModuleName, META_PROTO)) {
if ((CallProtoService(pProtos[i - 1]->szModuleName, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_IM) == 0)
continue;
diff --git a/plugins/IEView/src/Template.cpp b/plugins/IEView/src/Template.cpp
index d405277f28..e9a6271fde 100644
--- a/plugins/IEView/src/Template.cpp
+++ b/plugins/IEView/src/Template.cpp
@@ -113,7 +113,7 @@ Template* Template::getNext()
bool Template::equals(const char *name)
{
- if (!strcmp(name, this->name))
+ if (!mir_strcmp(name, this->name))
return true;
return false;
@@ -252,7 +252,7 @@ TemplateMap* TemplateMap::add(const char *id, const char *filename)
{
TemplateMap *map;
for (map = mapList; map != NULL; map = map->next) {
- if (!strcmp(map->name, id)) {
+ if (!mir_strcmp(map->name, id)) {
map->clear();
map->setFilename(filename);
return map;
@@ -425,7 +425,7 @@ Template* TemplateMap::getTemplate(const char *text)
Template* TemplateMap::getTemplate(const char *proto, const char *text)
{
for (TemplateMap *ptr = mapList; ptr != NULL; ptr = ptr->next)
- if (!strcmp(ptr->name, proto))
+ if (!mir_strcmp(ptr->name, proto))
return ptr->getTemplate(text);
return NULL;
@@ -434,7 +434,7 @@ Template* TemplateMap::getTemplate(const char *proto, const char *text)
TemplateMap* TemplateMap::getTemplateMap(const char *proto)
{
for (TemplateMap *ptr = mapList; ptr != NULL; ptr = ptr->next)
- if (!strcmp(ptr->name, proto))
+ if (!mir_strcmp(ptr->name, proto))
return ptr;
return NULL;