mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
actually split by line
This commit is contained in:
parent
550e4c4355
commit
daaf3c9328
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue