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

@ -2,7 +2,6 @@
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using OpenTK;
using osu.Framework.Graphics;
@ -31,7 +30,7 @@ namespace osu.Game.Overlays.Chat
public string Header
{
get { return header.Text; }
set { header.Text = value.ToUpper(CultureInfo.InvariantCulture); }
set { header.Text = value.ToUpperInvariant(); }
}
public IEnumerable<Channel> Channels