From 87506af87cf403b5c3f330436ccf65bc33b59cae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Feb 2014 14:56:26 +0000 Subject: fix for the temporary contact creation git-svn-id: http://svn.miranda-ng.org/main/trunk@8074 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbcontacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Db3x_mmap/src/dbcontacts.cpp') diff --git a/plugins/Db3x_mmap/src/dbcontacts.cpp b/plugins/Db3x_mmap/src/dbcontacts.cpp index de426f5b65..6f0752cd12 100644 --- a/plugins/Db3x_mmap/src/dbcontacts.cpp +++ b/plugins/Db3x_mmap/src/dbcontacts.cpp @@ -177,7 +177,7 @@ STDMETHODIMP_(HANDLE) CDb3Mmap::AddContact() cc->dwDriverData = ofsNew; NotifyEventHooks(hContactAddedEvent, dbc.dwContactID, 0); - return (HANDLE)ofsNew; + return (HANDLE)dbc.dwContactID; } STDMETHODIMP_(BOOL) CDb3Mmap::IsDbContact(MCONTACT contactID) -- cgit v1.2.3