diff options
author | pommicket <pommicket@gmail.com> | 2022-12-22 22:27:12 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-22 22:27:12 -0500 |
commit | 8a7a3b234980d14c0e668e065914480cef2d1946 (patch) | |
tree | 0115ba35ccd574494fd949272b089977a2e0eab3 | |
parent | 927f3eba4140be1526d51af9ecfc88b72b57dee2 (diff) |
don't error on unrecognized color names (in release mode)
-rw-r--r-- | config.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: { |