diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-15 13:18:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-15 13:18:41 +0000 |
commit | 9487c9cfe6ab1572444fed37d234a4abfd18f3fb (patch) | |
tree | 30b0870c8af281d1610055b69ca020752949b8cc /plugins/Db3x_mmap/src/dbcontacts.cpp | |
parent | 2bc82e6bbe6141a102c20cd65bfcfb11ea80f303 (diff) |
verba volant, scripta manent
git-svn-id: http://svn.miranda-ng.org/main/trunk@8622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcontacts.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbcontacts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbcontacts.cpp b/plugins/Db3x_mmap/src/dbcontacts.cpp index 7d8fc5a143..7f93d731a1 100644 --- a/plugins/Db3x_mmap/src/dbcontacts.cpp +++ b/plugins/Db3x_mmap/src/dbcontacts.cpp @@ -388,6 +388,7 @@ void CDb3Mmap::ConvertContacts() DBContact *pPrev = NULL;
m_dbHeader.ofsUser = ReallocSpace(m_dbHeader.ofsUser, OLD_CONTACT_SIZE, sizeof(DBContact));
+ DBWrite(0, &m_dbHeader, sizeof(m_dbHeader));
for (DWORD dwOffset = m_dbHeader.ofsFirstContact; dwOffset != 0;) {
DBContact *pOld = (DBContact*)DBRead(dwOffset, sizeof(DBContact), NULL);
|