Skip to content

Commit

Permalink
TitleBar: add a padding space before the volume indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 12, 2024
1 parent 161881c commit cbac948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TitleBar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ TitleBar::Paint(const PageMeta &current_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);
Expand Down

0 comments on commit cbac948

Please sign in to comment.