diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/Db3x_mmap/src/dbcache.cpp | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcache.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbcache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/dbcache.cpp b/plugins/Db3x_mmap/src/dbcache.cpp index 0544d4a43f..879e3a2834 100644 --- a/plugins/Db3x_mmap/src/dbcache.cpp +++ b/plugins/Db3x_mmap/src/dbcache.cpp @@ -37,9 +37,9 @@ void CDb3Mmap::Map() if (m_hMap) {
m_pDbCache = (PBYTE)MapViewOfFile(m_hMap, dwAccess, 0, 0, 0);
if (!m_pDbCache)
- DatabaseCorruption(_T("%s (MapViewOfFile failed. Code: %d)"));
+ DatabaseCorruption(L"%s (MapViewOfFile failed. Code: %d)");
}
- else DatabaseCorruption(_T("%s (CreateFileMapping failed. Code: %d)"));
+ else DatabaseCorruption(L"%s (CreateFileMapping failed. Code: %d)");
}
void CDb3Mmap::ReMap(DWORD needed)
@@ -51,7 +51,7 @@ void CDb3Mmap::ReMap(DWORD needed) if (needed > 0) {
if (needed > m_ChunkSize) {
if (needed + m_dwFileSize > m_dbHeader.ofsFileEnd + m_ChunkSize)
- DatabaseCorruption(_T("%s (Too large increment)"));
+ DatabaseCorruption(L"%s (Too large increment)");
else {
DWORD x = m_dbHeader.ofsFileEnd / m_ChunkSize;
m_dwFileSize = (x + 1)*m_ChunkSize;
|