]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui: Fix off-by-one in colorful blackness theme.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Jul 2023 15:48:22 +0000 (17:48 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 12 Mar 2024 17:48:39 +0000 (18:48 +0100)
Without this, on a 80 character window and the three-digit amp value,
the value gets truncated unnecessarily.

gui_theme.c

index f71e802b5c6561d4d5b7340209a76cebf3235206..81bbe0f6760b82f88fb9f97f45f2f5a42ed494ab 100644 (file)
@@ -266,7 +266,7 @@ static void init_theme_colorful_blackness(struct gui_theme *t)
        d[SI_amplification].align = RIGHT;
        d[SI_amplification].x = 92;
        d[SI_amplification].y = 27;
-       d[SI_amplification].len = 8;
+       d[SI_amplification].len = 9;
 
        d[SI_techinfo].prefix = "";
        d[SI_techinfo].postfix = "";