From cbac9481db85148a408978f7cbde1f7f2ccebaff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 Sep 2024 12:03:46 +0200 Subject: [PATCH] TitleBar: add a padding space before the volume indicator --- src/TitleBar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TitleBar.cxx b/src/TitleBar.cxx index bb2add08..2258e52c 100644 --- a/src/TitleBar.cxx +++ b/src/TitleBar.cxx @@ -82,9 +82,9 @@ TitleBar::Paint(const PageMeta ¤t_page_meta, char buf[32]; std::string_view volume_string; if (volume < 0) { - volume_string = FmtTruncate(buf, "{} {}"sv, _("Volume"), _("n/a")); + volume_string = FmtTruncate(buf, " {} {}"sv, _("Volume"), _("n/a")); } else { - volume_string = FmtTruncate(buf, "{} {}"sv, _("Volume"), volume); + volume_string = FmtTruncate(buf, " {} {}"sv, _("Volume"), volume); } SelectStyle(window, Style::TITLE);