From ed0b4c07d3dee1c2a3c250ec11ba58839671c934 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 16 Jul 2023 17:48:22 +0200 Subject: [PATCH] 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. --- gui_theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""; -- 2.39.2