diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-24 13:15:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-24 13:15:32 +0300 |
commit | 355c41643beadff74d490dc36f2c0432a2286e4c (patch) | |
tree | 9f5320227208ddc3e767e341af3c632a4a521c9a /plugins/Db3x_mmap/src/dbtool | |
parent | 6d6cb956a78b2dbfa7e8d62f4234d8f27b100468 (diff) |
more common database code moved to MDatabaseCommon
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/disk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/disk.cpp b/plugins/Db3x_mmap/src/dbtool/disk.cpp index da18f9a1d6..3310c7dd67 100644 --- a/plugins/Db3x_mmap/src/dbtool/disk.cpp +++ b/plugins/Db3x_mmap/src/dbtool/disk.cpp @@ -72,7 +72,7 @@ int CDb3Mmap::ReadSegment(DWORD ofs, PVOID buf, int cbBytes) DWORD CDb3Mmap::WriteSegment(DWORD ofs, PVOID buf, int cbBytes)
{
- DWORD bytesWritten;
+ DWORD bytesWritten;
if (cb->bCheckOnly) return 0xbfbfbfbf;
if (ofs == WSOFS_END) {
ofs = m_dbHeader.ofsFileEnd;
|