Fix for TextInputStream consuming file without producing lines

This commit is contained in:
hawken 2016-10-12 12:19:04 +02:00
parent 8f196db778
commit 1c155a0d03

View File

@ -68,6 +68,8 @@ TextInputStream::ReadLine()
return nullptr;
}
buffer.Append(nbytes);
line = ReadBufferedLine(buffer);
if (line != nullptr)
return line;