diff --git a/OpenRA.Game/Widgets/ChatDisplayWidget.cs b/OpenRA.Game/Widgets/ChatDisplayWidget.cs index 9a132b8339..9daf5e2139 100644 --- a/OpenRA.Game/Widgets/ChatDisplayWidget.cs +++ b/OpenRA.Game/Widgets/ChatDisplayWidget.cs @@ -56,7 +56,7 @@ namespace OpenRA.Widgets } var text = WidgetUtils.WrapText(line.Text, chatLogArea.Width - inset, font); - var textLines = text.Split(new[] { '\n' }, System.StringSplitOptions.RemoveEmptyEntries).Count(); + var textLines = text.Split(new[] { '\n' }).Count(); chatpos.Y -= 20 * textLines; if (owner != null)