From c2df6e7bbf6efdb36f751379c154623191864a1f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 21 Jul 2012 18:25:03 +0000 Subject: Dbx_mmap_SA ready git-svn-id: http://svn.miranda-ng.org/main/trunk@1094 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/dbheaders.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/Db3x_mmap/dbheaders.cpp') diff --git a/plugins/Db3x_mmap/dbheaders.cpp b/plugins/Db3x_mmap/dbheaders.cpp index 32ed0091cb..3d18a373fa 100644 --- a/plugins/Db3x_mmap/dbheaders.cpp +++ b/plugins/Db3x_mmap/dbheaders.cpp @@ -25,12 +25,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //the cache has not been loaded when these functions are used +extern DBSignature dbSignature; + int CDdxMmap::CreateDbHeaders() { DBContact user; DWORD bytesWritten; - CopyMemory(m_dbHeader.signature,&dbSignature,sizeof(m_dbHeader.signature)); + CopyMemory(m_dbHeader.signature, &dbSignature,sizeof(m_dbHeader.signature)); m_dbHeader.version = DB_THIS_VERSION; m_dbHeader.ofsFileEnd = sizeof(struct DBHeader); m_dbHeader.slackSpace = 0; -- cgit v1.2.3