gui: Fix length of audio format field.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 Oct 2020 15:50:06 +0000 (17:50 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 1 Jan 2021 15:07:39 +0000 (16:07 +0100)
Without this, the contents of the subsequent item (numplayed) are
overwritten by spaces. This only affects the colorful blackness theme.

gui_theme.c

index f0efaa8..6f4acf3 100644 (file)
@@ -149,7 +149,7 @@ static void init_theme_colorful_blackness(struct gui_theme *t)
        d[SI_format].align = CENTER;
        d[SI_format].x = 42;
        d[SI_format].y = 17;
-       d[SI_format].len = 18;
+       d[SI_format].len = 16;
 
        d[SI_num_played].prefix = "#";
        d[SI_num_played].postfix = "";