diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-03 12:19:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-03 12:19:42 +0000 |
commit | 23617c95e41dc21347d4957c29fe5989a36e2a85 (patch) | |
tree | 3a88d117557a7dd5f04863e82966225037c21853 /plugins/Db3x_mmap/src/dbmodulechain.cpp | |
parent | 6064262200ecd2cead6f706765e3049f559cfcd0 (diff) |
more correct way of writing signatures
git-svn-id: http://svn.miranda-ng.org/main/trunk@7477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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
|