:: commit 7662bd81296187d60735a8a977d5e39d809fb2be

Mintsuki <mintsuki@protonmail.com> — 2026-02-08 16:32

parents: f7e8694488

menu: Ignore empty INTERFACE_HELP_COLOUR config value

diff --git a/common/menu.c b/common/menu.c
index a123dffa..5a8c902f 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -922,7 +922,7 @@ noreturn void _menu(bool first_run) {
     if (interface_help_colour_str == NULL) {
         interface_help_colour_str = config_get_value(NULL, 0, "INTERFACE_HELP_COLOR");
     }
-    if (interface_help_colour_str != NULL) {
+    if (interface_help_colour_str != NULL && interface_help_colour_str[0] != '\0') {
         interface_help_colour[3] = interface_help_colour_str[0];
         interface_help_colour_bright[3] = interface_help_colour_str[0];
     }
tab: 248 wrap: offon