diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-10 21:59:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-10 21:59:08 +0000 |
commit | 78d543e00b33bffc196d07622db74e64d5feed7e (patch) | |
tree | 072e5ff1970d331e8fb624067725bd4a54d661b1 | |
parent | ab8295e821602d7c46afc5900af0ccebd7df8617 (diff) |
fix for converting metas from some early builds of 0.95
git-svn-id: http://svn.miranda-ng.org/main/trunk@9766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Db3x_mmap/src/dbevents.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbevents.cpp b/plugins/Db3x_mmap/src/dbevents.cpp index 2a50bcf0f8..5bbb4853cb 100644 --- a/plugins/Db3x_mmap/src/dbevents.cpp +++ b/plugins/Db3x_mmap/src/dbevents.cpp @@ -573,6 +573,10 @@ void CDb3Mmap::ConvertEvents() DBContact dbc = *(DBContact*)DBRead(dwOffset, sizeof(DBContact), NULL);
ConvertContactEvents(&dbc);
DBWrite(dwOffset, &dbc, sizeof(dbc));
+
+ if (m_contactsMap.find((ConvertedContact*)&dbc.dwContactID) == NULL)
+ m_contactsMap.insert(new ConvertedContact(dwOffset, dbc.dwContactID));
+
dwOffset = dbc.ofsNext;
}
|