From daaf3c93284ca3de9a62561d7f261a691f4fd93a Mon Sep 17 00:00:00 2001 From: goaaats <16760685+goaaats@users.noreply.github.com> Date: Fri, 8 Oct 2021 22:31:22 +0200 Subject: [PATCH] actually split by line --- Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 69ce9aa22..d8544a1e4 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -1127,7 +1127,7 @@ namespace Dalamud.Interface.Internal.Windows else if (!string.IsNullOrWhiteSpace(manifest.Description)) { const int punchlineLen = 200; - var firstLine = manifest.Description.Split()[0]; + var firstLine = manifest.Description.Split(new [] { '\r', '\n' })[0]; ImGui.TextWrapped(firstLine.Length < punchlineLen ? firstLine