From 3feb0d5f2fd649a34ecac112305d244de49064bf Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 6 Jun 2020 18:50:48 +0200 Subject: [PATCH] gui: Adjust position of num_played value. If the terminal window is only 80 characters wide, the num_played value may be adjacent to the bitrate value, with no space between. This happens only if the num_played value is bigger than 99, and only with the "colorful blackness" theme. This simple patch should fix the issue. --- gui_theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui_theme.c b/gui_theme.c index 745abe28..f0efaa88 100644 --- a/gui_theme.c +++ b/gui_theme.c @@ -156,7 +156,7 @@ static void init_theme_colorful_blackness(struct gui_theme *t) d[SI_num_played].color.fg = COLOR_RED; d[SI_num_played].color.bg = COLOR_BLACK; d[SI_num_played].align = LEFT; - d[SI_num_played].x = 60; + d[SI_num_played].x = 58; d[SI_num_played].y = 17; d[SI_num_played].len = 5; -- 2.39.2