mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:52:53 +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;
|
wikiData.Value = response;
|
||||||
path.Value = response.Path;
|
path.Value = response.Path;
|
||||||
|
|
||||||
if (response.Layout == INDEX_PATH.ToLowerInvariant())
|
if (response.Layout.Equals(INDEX_PATH, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
LoadDisplay(new WikiMainPage
|
LoadDisplay(new WikiMainPage
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user