mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Fix codefactor issue
This commit is contained in:
parent
8617aaa2a7
commit
a580c17949
@ -38,7 +38,7 @@ namespace osu.Game.IO.Legacy
|
|||||||
/// <summary> Reads a string from the buffer. Overrides the base implementation so it can cope with nulls. </summary>
|
/// <summary> Reads a string from the buffer. Overrides the base implementation so it can cope with nulls. </summary>
|
||||||
public override string ReadString()
|
public override string ReadString()
|
||||||
{
|
{
|
||||||
if (0 == ReadByte()) return null;
|
if (ReadByte() == 0) return null;
|
||||||
return base.ReadString();
|
return base.ReadString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user