diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-29 19:55:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-29 19:55:04 +0000 |
commit | 7e0c7c426f9c8a453deef09c3d6679824af5f3d5 (patch) | |
tree | 6e247cf898b38c430cf1924242177e91a02226a5 /plugins/Db3x_mmap/src/dbtool | |
parent | 5dbf04acc4094bdf762bbadb71b7ab6024e09dd5 (diff) |
preparing mmap_sa, that it finally compatible with new mmap
git-svn-id: http://svn.miranda-ng.org/main/trunk@7415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/eventchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp index ee35fec362..a5a03cbecd 100644 --- a/plugins/Db3x_mmap/src/dbtool/eventchain.cpp +++ b/plugins/Db3x_mmap/src/dbtool/eventchain.cpp @@ -232,12 +232,12 @@ int CDb3Base::WorkEventChain(DWORD ofsContact,DBContact *dbc,int firstTime) DWORD oldSize = dbeNew->cbBlob;
BYTE* pOldMemo = (BYTE*)_alloca(dbeNew->cbBlob);
memcpy(pOldMemo, dbeNew->blob, dbeNew->cbBlob);
- CopyMemory(dbeNew->blob, pOldMemo, dbeNew->cbBlob); // decode
+ DecodeCopyMemory(dbeNew->blob, pOldMemo, dbeNew->cbBlob); // decode
ConvertOldEvent(dbeNew);
if (dbeNew->cbBlob > oldSize)
pOldMemo = (BYTE*)_alloca(dbeNew->cbBlob);
memcpy(pOldMemo, dbeNew->blob, dbeNew->cbBlob);
- MoveMemory(dbeNew->blob, pOldMemo, dbeNew->cbBlob); // encode
+ EncodeCopyMemory(dbeNew->blob, pOldMemo, dbeNew->cbBlob); // encode
}
if (dbePrev) {
|