mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 19:40:46 +08:00
Use better method of ignore case comparison
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user