diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-07-03 17:19:54 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-07-03 17:19:54 +0000 |
commit | ed204fe350540966e492859c9f9c734b6b9f1cde (patch) | |
tree | 33be33ad2c5e903ca037fdeef82e1e4b2a9a4b62 /plugins/Dbx_mdb/src/dbevents.cpp | |
parent | be556ddb9cca86b4242781761019da7ba6a537d0 (diff) |
dbx_lmdb: code optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@17057 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbevents.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/dbevents.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdb/src/dbevents.cpp b/plugins/Dbx_mdb/src/dbevents.cpp index 5436cbca38..48c8993cdd 100644 --- a/plugins/Dbx_mdb/src/dbevents.cpp +++ b/plugins/Dbx_mdb/src/dbevents.cpp @@ -36,7 +36,7 @@ STDMETHODIMP_(MEVENT) CDbxMdb::AddEvent(MCONTACT contactID, DBEVENTINFO *dbei) DBEvent dbe;
dbe.contactID = contactID; // store native or subcontact's id
- dbe.ofsModuleName = GetModuleNameOfs(dbei->szModule);
+ dbe.ofsModuleName = GetModuleID(dbei->szModule);
MCONTACT contactNotifyID = contactID;
DBCachedContact *cc, *ccSub = NULL;
@@ -221,7 +221,7 @@ STDMETHODIMP_(BOOL) CDbxMdb::GetEvent(MEVENT hDbEvent, DBEVENTINFO *dbei) const DBEvent *dbe = (const DBEvent*)data.mv_data;
- dbei->szModule = GetModuleNameByOfs(dbe->ofsModuleName);
+ dbei->szModule = GetModuleName(dbe->ofsModuleName);
dbei->timestamp = dbe->timestamp;
dbei->flags = dbe->flags;
dbei->eventType = dbe->wEventType;
|