From 59822f2c393d553d43adb4a5eb8daf77609063f2 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 22 Mar 2011 14:09:37 +0200 Subject: new threading code (part 2, usable) --- metacontacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'metacontacts.cpp') diff --git a/metacontacts.cpp b/metacontacts.cpp index 30d3a75..c451d9f 100644 --- a/metacontacts.cpp +++ b/metacontacts.cpp @@ -58,14 +58,14 @@ HANDLE metaGetMostOnline(HANDLE hContact) if(bMetaContacts) return (HANDLE)CallService(MS_MC_GETMOSTONLINECONTACT,(WPARAM)hContact,0); - return 0; + return hContact; } HANDLE metaGetDefault(HANDLE hContact) { if(bMetaContacts) return (HANDLE)CallService(MS_MC_GETDEFAULTCONTACT,(WPARAM)hContact,0); - return 0; + return hContact; } HANDLE metaGetCurrent(HANDLE hContact) -- cgit v1.2.3