summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Common/ListFileUtils.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-12-06 07:58:49 +1100
committer Vas Crabb <vas@vastheman.com>2023-12-06 07:58:49 +1100
commit79bef1e23049fdac25f1fefd132e0b6c7d2cc3a1 (patch)
tree643e9313fe86f583c4022c338677cbc12b761df7 /3rdparty/lzma/CPP/Common/ListFileUtils.cpp
parent512ccf0c7c9b4f08e41038b2ed2de220e140385b (diff)
3rdparty/lzma: Updated to version 23.01.
Diffstat (limited to '3rdparty/lzma/CPP/Common/ListFileUtils.cpp')
-rw-r--r--3rdparty/lzma/CPP/Common/ListFileUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/lzma/CPP/Common/ListFileUtils.cpp b/3rdparty/lzma/CPP/Common/ListFileUtils.cpp
index b361b378891..e43dbc9c936 100644
--- a/3rdparty/lzma/CPP/Common/ListFileUtils.cpp
+++ b/3rdparty/lzma/CPP/Common/ListFileUtils.cpp
@@ -66,7 +66,7 @@ bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePag
if (fileSize >= ((UInt32)1 << 31) - 32)
return false;
UString u;
- if (codePage == MY__CP_UTF16 || codePage == MY__CP_UTF16BE)
+ if (codePage == Z7_WIN_CP_UTF16 || codePage == Z7_WIN_CP_UTF16BE)
{
if ((fileSize & 1) != 0)
return false;
@@ -78,7 +78,7 @@ bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePag
file.Close();
const unsigned num = (unsigned)fileSize / 2;
wchar_t *p = u.GetBuf(num);
- if (codePage == MY__CP_UTF16)
+ if (codePage == Z7_WIN_CP_UTF16)
for (unsigned i = 0; i < num; i++)
{
wchar_t c = GetUi16(buf + (size_t)i * 2);