aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/ListFileUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/ListFileUtils.cpp')
-rw-r--r--CPP/Common/ListFileUtils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/CPP/Common/ListFileUtils.cpp b/CPP/Common/ListFileUtils.cpp
index e40b2d0..2fdde6d 100644
--- a/CPP/Common/ListFileUtils.cpp
+++ b/CPP/Common/ListFileUtils.cpp
@@ -107,7 +107,7 @@ bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePag
}
const wchar_t kGoodBOM = 0xFEFF;
- const wchar_t kBadBOM = 0xFFFE;
+ // const wchar_t kBadBOM = 0xFFFE;
UString s;
unsigned i = 0;
@@ -115,8 +115,10 @@ bool ReadNamesFromListFile2(CFSTR fileName, UStringVector &strings, UINT codePag
for (; i < u.Len(); i++)
{
wchar_t c = u[i];
+ /*
if (c == kGoodBOM || c == kBadBOM)
return false;
+ */
if (c == '\n' || c == 0xD)
{
AddName(strings, s);