From 06b1051a7e620e86803037cb9f9191b6bef568cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 18 Sep 2023 20:46:30 +0800 Subject: [PATCH] Global: don't trim custom strings It can be useful to align separators --- src/common/format.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/format.c b/src/common/format.c index 8ccf09fa3..b5092c6c7 100644 --- a/src/common/format.c +++ b/src/common/format.c @@ -256,7 +256,5 @@ void ffParseFormatString(FFstrbuf* buffer, const FFstrbuf* formatstr, uint32_t n ffFormatAppendFormatArg(buffer, &arguments[index - 1]); } - ffStrbufTrimRight(buffer, ' '); - ffStrbufAppendS(buffer, FASTFETCH_TEXT_MODIFIER_RESET); }