summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/HTMLBuilder.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-04-08 17:54:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-04-08 17:54:19 +0000
commit78dc54f9e392b45492a2b726d6268c41f594eb41 (patch)
treefa1180153a3ac3610f22ad9f7b002d2a348c2ea5 /plugins/IEView/src/HTMLBuilder.cpp
parentafa73da4259ee9a00e60570031f94338542636d8 (diff)
bunch of mc related fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/HTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/HTMLBuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp
index 0f035c6ebd..6557980145 100644
--- a/plugins/IEView/src/HTMLBuilder.cpp
+++ b/plugins/IEView/src/HTMLBuilder.cpp
@@ -148,7 +148,7 @@ char* HTMLBuilder::getRealProto(MCONTACT hContact)
return NULL;
char *szProto = mir_strdup(GetContactProto(hContact));
- if (szProto != NULL && !strcmp(szProto, "MetaContacts")) {
+ if (szProto != NULL && !strcmp(szProto, META_PROTO)) {
hContact = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
if (hContact != NULL) {
mir_free(szProto);
@@ -160,7 +160,7 @@ char* HTMLBuilder::getRealProto(MCONTACT hContact)
char *HTMLBuilder::getRealProto(MCONTACT hContact, const char *szProto)
{
- if (szProto != NULL && !strcmp(szProto, "MetaContacts")) {
+ if (szProto != NULL && !strcmp(szProto, META_PROTO)) {
hContact = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
if (hContact != NULL)
return mir_strdup(GetContactProto(hContact));
@@ -171,7 +171,7 @@ char *HTMLBuilder::getRealProto(MCONTACT hContact, const char *szProto)
MCONTACT HTMLBuilder::getRealContact(MCONTACT hContact)
{
char *szProto = GetContactProto(hContact);
- if (szProto != NULL && !strcmp(szProto,"MetaContacts"))
+ if (szProto != NULL && !strcmp(szProto, META_PROTO))
hContact = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
return hContact;
}