mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Use IsNullOrWhiteSpace instead of trimming
This commit is contained in:
@ -613,7 +613,7 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
string line;
|
string line;
|
||||||
while ((line = stream.ReadLine()) != null)
|
while ((line = stream.ReadLine()) != null)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(line.Trim()))
|
if (string.IsNullOrWhiteSpace(line))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (line.StartsWith("//"))
|
if (line.StartsWith("//"))
|
||||||
|
Reference in New Issue
Block a user