diff options
Diffstat (limited to 'plugins/SmileyAdd/src/general.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index b10c77cdae..91050e25cd 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -211,11 +211,11 @@ void DestroyGdiPlus(void) }
}
-HANDLE DecodeMetaContact(HANDLE hContact)
+HCONTACT DecodeMetaContact(HCONTACT hContact)
{
if (hContact == NULL) return NULL;
- HANDLE hReal = (HANDLE) CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM) hContact, 0);
- if (hReal == NULL || hReal == (HANDLE)CALLSERVICE_NOTFOUND)
+ HCONTACT hReal = (HCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hContact, 0);
+ if (hReal == NULL || hReal == (HCONTACT)CALLSERVICE_NOTFOUND)
hReal = hContact;
return hReal;
|