bugfix for the bugfix

metadata
Wenzel Jakob 2010-11-30 19:16:19 +01:00
parent 2d21bd45e2
commit 8037292e44
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ public:
/// Fetch a line from the stream, while handling line breaks with backslashes
if (!std::getline(is, line))
return false;
if (line == "")
return true;
int lastCharacter = line.size()-1;
while (lastCharacter >= 0 &&
(line[lastCharacter] == '\r' ||