mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Trim line
This commit is contained in:
parent
6c5c734ff1
commit
bd9f2db477
@ -611,7 +611,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
CommandTimelineGroup timelineGroup = null;
|
||||
|
||||
string line;
|
||||
while ((line = stream.ReadLine()?.TrimEnd()) != null)
|
||||
while ((line = stream.ReadLine()?.Trim()) != null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(line))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user