fsparser: drop CR at the end of line
This commit is contained in:
parent
d3a5b712b4
commit
b28ae236a1
|
|
@ -60,6 +60,8 @@ int FsParser::parseHeader()
|
|||
/* drop all comment, base analyze on header */
|
||||
if (buffer[0] == '/')
|
||||
continue;
|
||||
if (buffer[buffer.size()-1] == '\r')
|
||||
buffer.pop_back();
|
||||
|
||||
/* store each line in dedicated buffer for futur use
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue