From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbcache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Db3x_mmap/src/dbcache.cpp') 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; -- cgit v1.2.3