1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 19:43:22 +08:00

Use IsNullOrWhiteSpace instead of trimming

This commit is contained in:
smoogipoo 2017-10-10 19:21:38 +09:00
parent 29c2a29798
commit ad344eb719

View File

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