1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 21:30:59 +08:00

Use IsNullOrWhiteSpace instead of trimming

This commit is contained in:
smoogipoo
2017-10-10 19:21:38 +09:00
Unverified
parent 29c2a29798
commit ad344eb719
@@ -613,7 +613,7 @@ namespace osu.Game.Beatmaps.Formats
string line;
while ((line = stream.ReadLine()) != null)
{
if (string.IsNullOrEmpty(line.Trim()))
if (string.IsNullOrWhiteSpace(line))
continue;
if (line.StartsWith("//"))