summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/crypt_metacontacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/crypt_metacontacts.cpp')
-rw-r--r--plugins/SecureIM/src/crypt_metacontacts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/crypt_metacontacts.cpp b/plugins/SecureIM/src/crypt_metacontacts.cpp
index 16304cffac..e99328f1d6 100644
--- a/plugins/SecureIM/src/crypt_metacontacts.cpp
+++ b/plugins/SecureIM/src/crypt_metacontacts.cpp
@@ -13,7 +13,7 @@ BOOL isProtoMetaContacts(MCONTACT hContact)
BOOL isDefaultSubContact(MCONTACT hContact)
{
if (bMetaContacts)
- return (MCONTACT)CallService(MS_MC_GETDEFAULTCONTACT,(WPARAM)CallService(MS_MC_GETMETACONTACT,(WPARAM)hContact,0),0) == hContact;
+ return (MCONTACT)CallService(MS_MC_GETDEFAULTCONTACT,(WPARAM)CallService(MS_MC_GETMETACONTACT,hContact,0),0) == hContact;
return false;
}
@@ -21,7 +21,7 @@ BOOL isDefaultSubContact(MCONTACT hContact)
MCONTACT getMetaContact(MCONTACT hContact)
{
if (bMetaContacts)
- return (MCONTACT)CallService(MS_MC_GETMETACONTACT, (WPARAM)hContact, 0);
+ return (MCONTACT)CallService(MS_MC_GETMETACONTACT, hContact, 0);
return 0;
}
@@ -29,7 +29,7 @@ MCONTACT getMetaContact(MCONTACT hContact)
MCONTACT getMostOnline(MCONTACT hContact)
{
if (bMetaContacts)
- return (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hContact, 0);
+ return (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
return 0;
}