Fixed Stream::readLine implementation to match its doxygen comment
svn-id: r34316
This commit is contained in:
parent
57e724bfc3
commit
c7a0b52c17
1 changed files with 3 additions and 0 deletions
|
@ -211,6 +211,9 @@ String SeekableReadStream::readLine() {
|
|||
break;
|
||||
line += buf;
|
||||
}
|
||||
|
||||
if (line.lastChar() == '\n')
|
||||
line.deleteLastChar();
|
||||
|
||||
return line;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue