diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-24 21:45:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-24 21:45:52 +0000 |
commit | 1b44de1b140c2155dde5c42172e4d9df2d43e843 (patch) | |
tree | 9dad1efa7fa7bcff6c1257dfcbad76e39ef169a8 /plugins/Db3x_mmap/src/dbcache.cpp | |
parent | a6e4831016d47d81092d3660f370cffd9ebc3e89 (diff) |
mode code cleaning for mmap
git-svn-id: http://svn.miranda-ng.org/main/trunk@6982 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcache.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbcache.cpp b/plugins/Db3x_mmap/src/dbcache.cpp index 8862c7192f..7f07540b56 100644 --- a/plugins/Db3x_mmap/src/dbcache.cpp +++ b/plugins/Db3x_mmap/src/dbcache.cpp @@ -79,7 +79,7 @@ void CDb3Mmap::DBMoveChunk(DWORD ofsDest,DWORD ofsSource,int bytes) PBYTE CDb3Mmap::DBRead(DWORD ofs,int bytesRequired,int *bytesAvail)
{
// buggy read
- if (ofs>= m_dwFileSize) {
+ if (ofs >= m_dwFileSize) {
//log2("read from outside %d@%08x",bytesRequired,ofs);
if (bytesAvail != NULL) *bytesAvail = m_ChunkSize;
return m_pNull;
|