summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-29 21:15:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-29 21:15:38 +0000
commita7eb152895dac688b255591b9b851780924b749d (patch)
treeaac8a911bc73887e741a2bcd5913d16052aa0954 /plugins/Dbx_mmap_SA
parentb159a681b8ce9c03d7c5d38e7c9aeccc73f0469b (diff)
fix for mmap_sa transparent dying
git-svn-id: http://svn.miranda-ng.org/main/trunk@7419 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA')
-rw-r--r--plugins/Dbx_mmap_SA/src/dbintf_sa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp b/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
index 8427c75b8b..4c69b86d37 100644
--- a/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
+++ b/plugins/Dbx_mmap_SA/src/dbintf_sa.cpp
@@ -54,6 +54,8 @@ int CDbxMmapSA::Load(bool bSkipInit)
// password validated ok? decrypt database
DecodeAll();
+ m_bEncoding = false;
+ WritePlainHeader();
}
// write back mmap's signature not to open this profile again