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

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