forked from lix-project/lix
* Ignore carriage returns.
This commit is contained in:
parent
5024bde8f4
commit
0c478d2f4d
|
@ -124,6 +124,7 @@ void Decoder::finishLine()
|
||||||
|
|
||||||
if (line[i] == '<') cout << "<";
|
if (line[i] == '<') cout << "<";
|
||||||
else if (line[i] == '&') cout << "&";
|
else if (line[i] == '&') cout << "&";
|
||||||
|
else if (line[i] == '\r') ; /* ignore carriage return */
|
||||||
else if (line[i] < 32 && line[i] != 9) cout << "�";
|
else if (line[i] < 32 && line[i] != 9) cout << "�";
|
||||||
else if (i + sz + 33 < line.size() &&
|
else if (i + sz + 33 < line.size() &&
|
||||||
string(line, i, sz) == storeDir &&
|
string(line, i, sz) == storeDir &&
|
||||||
|
|
Loading…
Reference in a new issue