Fixed Stream::readLine implementation to match its doxygen comment

svn-id: r34316
This commit is contained in:
Max Horn 2008-09-03 18:07:31 +00:00
parent 57e724bfc3
commit c7a0b52c17

View file

@ -212,6 +212,9 @@ String SeekableReadStream::readLine() {
line += buf;
}
if (line.lastChar() == '\n')
line.deleteLastChar();
return line;
}