diff --git a/src/input/TextInputStream.cxx b/src/input/TextInputStream.cxx index afa50fe94..a694cfa04 100644 --- a/src/input/TextInputStream.cxx +++ b/src/input/TextInputStream.cxx @@ -68,6 +68,8 @@ TextInputStream::ReadLine() return nullptr; } + buffer.Append(nbytes); + line = ReadBufferedLine(buffer); if (line != nullptr) return line;