Use ToUpperInvariant

This commit is contained in:
Dean Herbert
2018-07-24 14:42:06 +02:00
parent ab9340f4be
commit 5364a6148a
11 changed files with 15 additions and 26 deletions

View File

@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Configuration.Tracking;
@ -177,9 +176,9 @@ namespace osu.Game.Overlays
{
Schedule(() =>
{
textLine1.Text = description.Name.ToUpper(CultureInfo.InvariantCulture);
textLine1.Text = description.Name.ToUpperInvariant();
textLine2.Text = description.Value;
textLine3.Text = description.Shortcut.ToUpper(CultureInfo.InvariantCulture);
textLine3.Text = description.Shortcut.ToUpperInvariant();
if (string.IsNullOrEmpty(textLine3.Text))
textLine3.Text = "NO KEY BOUND";