bugfix for the bugfix
parent
2d21bd45e2
commit
8037292e44
|
@ -41,6 +41,8 @@ public:
|
||||||
/// Fetch a line from the stream, while handling line breaks with backslashes
|
/// Fetch a line from the stream, while handling line breaks with backslashes
|
||||||
if (!std::getline(is, line))
|
if (!std::getline(is, line))
|
||||||
return false;
|
return false;
|
||||||
|
if (line == "")
|
||||||
|
return true;
|
||||||
int lastCharacter = line.size()-1;
|
int lastCharacter = line.size()-1;
|
||||||
while (lastCharacter >= 0 &&
|
while (lastCharacter >= 0 &&
|
||||||
(line[lastCharacter] == '\r' ||
|
(line[lastCharacter] == '\r' ||
|
||||||
|
|
Loading…
Reference in New Issue