1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Small style changes

This commit is contained in:
FreezyLemon 2017-12-07 16:41:46 +01:00
parent 465f92af07
commit 772bba27be
2 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,8 @@ namespace osu.Game.Tests.Visual
private class DummyMessage : Message
{
private static long messageCounter = 0;
private static User sender = new User
private static long messageCounter;
private readonly static User sender = new User
{
Username = @"Somebody",
Id = 1,

View File

@ -256,7 +256,6 @@ namespace osu.Game.Overlays.Chat
});
}
// Add text after the last link
var lastLink = message.Links[message.Links.Count - 1];
contentFlow.AddText(message.Content.Substring(lastLink.Index + lastLink.Length));
}