From: Andre Noll Date: Sun, 16 Jul 2023 15:48:22 +0000 (+0200) Subject: gui: Fix off-by-one in colorful blackness theme. X-Git-Tag: v0.7.3~2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=ed0b4c07d3dee1c2a3c250ec11ba58839671c934;p=paraslash.git gui: Fix off-by-one in colorful blackness theme. Without this, on a 80 character window and the three-digit amp value, the value gets truncated unnecessarily. --- diff --git a/gui_theme.c b/gui_theme.c index f71e802b..81bbe0f6 100644 --- a/gui_theme.c +++ b/gui_theme.c @@ -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 = "";