diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 12:33:13 +0000 |
commit | 159b565b390687258ee65a3b66596e118752063c (patch) | |
tree | 91105378fcb9e030ba4a7f6572c4ea307cb8c8d6 /plugins/IEView | |
parent | 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (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/IEView')
-rw-r--r-- | plugins/IEView/src/HTMLBuilder.cpp | 6 | ||||
-rw-r--r-- | plugins/IEView/src/Options.cpp | 2 | ||||
-rw-r--r-- | plugins/IEView/src/Template.cpp | 8 |
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;
|