From: Liza Carvelli Date: Wed, 14 Aug 2024 18:24:51 +0000 (+0200) Subject: Change how quest names are shortened so that it doesn't replace the last letter with ... X-Git-Tag: v2.9~2 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=fa25db7be05f0f69a11102233696ccbca4a10893;p=Questionable.git Change how quest names are shortened so that it doesn't replace the last letter with ... --- diff --git a/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs b/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs index 5d746a69..aeceab45 100644 --- a/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs +++ b/Questionable/Windows/QuestComponents/ActiveQuestComponent.cs @@ -381,7 +381,7 @@ internal sealed partial class ActiveQuestComponent private static string Shorten(string text) { if (text.Length > 35) - return string.Concat(text.AsSpan(0, 35).Trim(), ((SeIconChar)57434).ToIconString()); + return string.Concat(text.AsSpan(0, 30).Trim(), ((SeIconChar)57434).ToIconString()); return text; }