Fix usage of culture local ToUpper causing incorrect display on Turkish machines

Closes #3098.
This commit is contained in:
Dean Herbert
2018-07-24 11:34:06 +02:00
parent 9dc55688d2
commit ab9340f4be
11 changed files with 26 additions and 15 deletions

View File

@ -6,6 +6,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using osu.Framework.Allocation;
@ -51,7 +52,7 @@ namespace osu.Game.Overlays.Settings
{
new OsuSpriteText
{
Text = Header.ToUpper(),
Text = Header.ToUpper(CultureInfo.InvariantCulture),
Margin = new MarginPadding { Bottom = 10, Left = SettingsOverlay.CONTENT_MARGINS, Right = SettingsOverlay.CONTENT_MARGINS },
Font = @"Exo2.0-Black",
},