From 8a7a3b234980d14c0e668e065914480cef2d1946 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 22 Dec 2022 22:27:12 -0500 Subject: don't error on unrecognized color names (in release mode) --- config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.c') diff --git a/config.c b/config.c index 887c466..c3e316a 100644 --- a/config.c +++ b/config.c @@ -698,7 +698,9 @@ static void config_parse_line(ConfigReader *cfg, Settings *settings, const Confi config_err(cfg, "'%s' is not a valid color. Colors should look like #rgb, #rgba, #rrggbb, or #rrggbbaa.", value); } } else { + #if DEBUG config_err(cfg, "No such color option: %s", key); + #endif } } break; case SECTION_KEYBOARD: { -- cgit v1.2.3