remove trailing newline char... this MIGHT need to be moved to ReadLine() function

This commit is contained in:
Michael Becker 2020-05-13 06:35:29 -04:00
parent f7672cf10e
commit 1b426b22b6
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -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("#"))