From: Andre Noll Date: Sat, 6 Jun 2020 16:50:48 +0000 (+0200) Subject: gui: Adjust position of num_played value. X-Git-Tag: v0.6.3~16 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3feb0d5f2fd649a34ecac112305d244de49064bf;ds=sidebyside 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. --- 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;