diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/dbmodulechain.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbmodulechain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/dbmodulechain.cpp b/plugins/Db3x_mmap/src/dbmodulechain.cpp index 743bbd2b21..3b61a236fa 100644 --- a/plugins/Db3x_mmap/src/dbmodulechain.cpp +++ b/plugins/Db3x_mmap/src/dbmodulechain.cpp @@ -95,9 +95,9 @@ DWORD CDb3Base::GetModuleNameOfs(const char *szName) dbmn.cbName = nameLen;
dbmn.ofsNext = m_dbHeader.ofsFirstModuleName;
m_dbHeader.ofsFirstModuleName = ofsNew;
- DBWrite(0,&m_dbHeader,sizeof(m_dbHeader));
- DBWrite(ofsNew,&dbmn,offsetof(struct DBModuleName,name));
- DBWrite(ofsNew+offsetof(struct DBModuleName,name),(PVOID)szName,nameLen);
+ DBWrite(0, &m_dbHeader, sizeof(m_dbHeader));
+ DBWrite(ofsNew, &dbmn, offsetof(struct DBModuleName, name));
+ DBWrite(ofsNew + offsetof(struct DBModuleName, name), (PVOID)szName, nameLen);
DBFlush(0);
//add to cache
|