OSDN Git Service

UniFile.cpp: NUL chars was treated as EOL chars
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 15 May 2016 06:56:19 +0000 (15:56 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 15 May 2016 06:56:19 +0000 (15:56 +0900)
Src/Common/UniFile.cpp

index 5993d86..855b46d 100644 (file)
@@ -615,8 +615,6 @@ bool UniMemFile::ReadString(String & line, String & eol, bool * lossy)
                else
                {
                        ch = ucr::get_unicode_char(m_current, (ucr::UNICODESET)m_unicoding, m_codepage);
-                       if (!ch)
-                               doneline = true;
                }
                // convert from Unicode codepoint to TCHAR string
                // could be multicharacter if decomposition took place, for example