summaryrefslogtreecommitdiff
path: root/libs/zlib/src/ioapi.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /libs/zlib/src/ioapi.c
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (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 'libs/zlib/src/ioapi.c')
-rw-r--r--libs/zlib/src/ioapi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/zlib/src/ioapi.c b/libs/zlib/src/ioapi.c
index e6ddc5cd2d..de9151aae5 100644
--- a/libs/zlib/src/ioapi.c
+++ b/libs/zlib/src/ioapi.c
@@ -94,13 +94,13 @@ static voidpf ZCALLBACK fopen_file_func(voidpf opaque, const TCHAR* filename, in
FILE* file = NULL;
const TCHAR* mode_fopen = NULL;
if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) == ZLIB_FILEFUNC_MODE_READ)
- mode_fopen = _T("rb");
+ mode_fopen = L"rb";
else
if (mode & ZLIB_FILEFUNC_MODE_EXISTING)
- mode_fopen = _T("r+b");
+ mode_fopen = L"r+b";
else
if (mode & ZLIB_FILEFUNC_MODE_CREATE)
- mode_fopen = _T("wb");
+ mode_fopen = L"wb";
if ((filename != NULL) && (mode_fopen != NULL))
file = _tfopen(filename, mode_fopen);
@@ -112,13 +112,13 @@ static voidpf ZCALLBACK fopen64_file_func(voidpf opaque, const void* filename, i
FILE* file = NULL;
const TCHAR* mode_fopen = NULL;
if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) == ZLIB_FILEFUNC_MODE_READ)
- mode_fopen = _T("rb");
+ mode_fopen = L"rb";
else
if (mode & ZLIB_FILEFUNC_MODE_EXISTING)
- mode_fopen = _T("r+b");
+ mode_fopen = L"r+b";
else
if (mode & ZLIB_FILEFUNC_MODE_CREATE)
- mode_fopen = _T("wb");
+ mode_fopen = L"wb";
if ((filename != NULL) && (mode_fopen != NULL))
file = _tfopen((const TCHAR*)filename, mode_fopen);