1
0
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:
Dean Herbert 2024-01-09 13:13:32 +09:00
parent 7d57a668ab
commit 172fe53099
No known key found for this signature in database

View File

@ -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
{