remove trailing newline char... this MIGHT need to be moved to ReadLine() function
This commit is contained in:
parent
f7672cf10e
commit
1b426b22b6
@ -72,6 +72,8 @@ namespace UniversalEditor.DataFormats.PropertyList
|
||||
while (!tr.EndOfStream)
|
||||
{
|
||||
string line = tr.ReadLine();
|
||||
line = line.Trim();
|
||||
|
||||
if (String.IsNullOrEmpty(line)) continue;
|
||||
|
||||
if (!line.StartsWith(";") && !line.StartsWith("#"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user