diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2021-03-20 19:44:51 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2021-03-20 20:06:29 -0400 |
commit | 21cd10563f1eb3a989dd9ebf3dd3c8d5de4ccdf2 (patch) | |
tree | 365d481396afc3a0c82a02026e3fb8c550bd0640 /src/color.c | |
parent | 8657daadd3658f98bc72729ae1afc8ecf54b391d (diff) |
some more atoi(get_conf_value(...)) replacements
Those didn't match the sed formula.
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c index 092a3a5..10ade10 100644 --- a/src/color.c +++ b/src/color.c @@ -266,7 +266,7 @@ void free_colors_param_dict() { */ void chg_color(char * str) { - if (atoi((char *) get_conf_value("nocurses"))) return; + if (get_conf_int("nocurses")) return; // Create key-value dictionary for the content of the string struct dictionary * d = create_dictionary(); |