diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-09 14:56:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-09 14:56:26 +0000 |
commit | 87506af87cf403b5c3f330436ccf65bc33b59cae (patch) | |
tree | aac8b001364e454c340e144dea6f83bf39f57427 /plugins/Db3x_mmap/src/dbcontacts.cpp | |
parent | 080076eb2638e335f101d545391f5831341ba462 (diff) |
fix for the temporary contact creation
git-svn-id: http://svn.miranda-ng.org/main/trunk@8074 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcontacts.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbcontacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|