summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-25 20:07:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-25 20:07:46 +0000
commit9c2afa293172937de3f2cc4d423c4924c4b83e14 (patch)
tree72292c31933068ab92d68954af8e5f98968ca025 /plugins/Db3x_mmap
parente4c1b5ae00efaa470a4b41953656ff059d0fd87d (diff)
write back Miranda IM signature to allow a conversion to be made
git-svn-id: http://svn.miranda-ng.org/main/trunk@6984 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index 3263c5e8ea..f0d351a16e 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -89,7 +89,7 @@ CDb3Base::~CDb3Base()
if (!m_bReadOnly) {
DWORD bytesWritten;
SetFilePointer(m_hDbFile, 0, NULL, FILE_BEGIN);
- WriteFile(m_hDbFile, &dbSignature, sizeof(dbSignature), &bytesWritten, NULL);
+ WriteFile(m_hDbFile, &dbSignatureIM, sizeof(dbSignatureIM), &bytesWritten, NULL);
}
CloseHandle(m_hDbFile);