diff options
Diffstat (limited to 'protocols/Omegle/src/theme.cpp')
-rw-r--r-- | protocols/Omegle/src/theme.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Omegle/src/theme.cpp b/protocols/Omegle/src/theme.cpp index 216e2fd98b..4ed027ed0c 100644 --- a/protocols/Omegle/src/theme.cpp +++ b/protocols/Omegle/src/theme.cpp @@ -93,8 +93,7 @@ HANDLE GetIconHandle(const char* name) // Helper functions
static OmegleProto * GetInstanceByHContact(HANDLE hContact)
{
- char *proto = reinterpret_cast<char*>( CallService(MS_PROTO_GETCONTACTBASEPROTO,
- reinterpret_cast<WPARAM>(hContact),0));
+ char *proto = GetContactProto(hContact);
if (!proto)
return 0;
|