mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Use better method of ignore case comparison
This commit is contained in:
parent
7d57a668ab
commit
172fe53099
@ -137,7 +137,7 @@ namespace osu.Game.Overlays
|
||||
wikiData.Value = response;
|
||||
path.Value = response.Path;
|
||||
|
||||
if (response.Layout == INDEX_PATH.ToLowerInvariant())
|
||||
if (response.Layout.Equals(INDEX_PATH, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
LoadDisplay(new WikiMainPage
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user