1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 15:33:21 +08:00

Merge pull request #1339 from sunghwan2789/decoder-improve

Trim end of line
This commit is contained in:
Dan Balasescu 2017-10-08 19:07:04 +09:00 committed by GitHub
commit b1a2da58bc

View File

@ -611,7 +611,7 @@ namespace osu.Game.Beatmaps.Formats
CommandTimelineGroup timelineGroup = null;
string line;
while ((line = stream.ReadLine()) != null)
while ((line = stream.ReadLine()?.Trim()) != null)
{
if (string.IsNullOrEmpty(line))
continue;