diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-30 08:39:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-30 08:39:34 +0000 |
commit | 2bac0330a0e427bbc4f6773c4023f4bd9d667835 (patch) | |
tree | c969552e47a28ff4ccae0188675e74e0586ce219 /plugins/Db3x_mmap/src/dbheaders.cpp | |
parent | a7eb152895dac688b255591b9b851780924b749d (diff) |
fix for old mmap keys, then corrupted by mmap_sa
git-svn-id: http://svn.miranda-ng.org/main/trunk@7420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbheaders.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbheaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbheaders.cpp b/plugins/Db3x_mmap/src/dbheaders.cpp index e7f83996a5..899dcdedc7 100644 --- a/plugins/Db3x_mmap/src/dbheaders.cpp +++ b/plugins/Db3x_mmap/src/dbheaders.cpp @@ -60,7 +60,7 @@ int CDb3Base::CheckDbHeaders() memcmp(m_dbHeader.signature, &dbSignatureSA, sizeof(m_dbHeader.signature)))
return EGROKPRF_UNKHEADER;
- if (m_dbHeader.version != DB_THIS_VERSION)
+ if (m_dbHeader.version != DB_THIS_VERSION && m_dbHeader.version != DB_OLD_VERSION)
return EGROKPRF_VERNEWER;
if (m_dbHeader.ofsUser == 0)
|