diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-12-10 11:50:42 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-12-10 11:50:42 -0300 |
commit | dc14b66305ad68c971f4591d39b7d7d29150fccb (patch) | |
tree | 1a6bd754019622686bb9f9fc1bbee7866e95009c | |
parent | c287e896aee5f489cf26a4cdca8d9f8f9df93d18 (diff) |
work on issue 220
-rw-r--r-- | src/main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -225,21 +225,22 @@ int main (int argc, char ** argv) { // initiate NCURSES if that is what is wanted - if (! atoi((char *) get_conf_value("nocurses"))) + if (! atoi((char *) get_conf_value("nocurses"))) { ui_start_screen(); #ifdef USECOLORS - if (get_d_colors_param() == NULL) { - start_default_ucolors(); + if (get_d_colors_param() == NULL) { + start_default_ucolors(); /* * in case we decide to change colors * this creates a dictionary and stores in it * the relationship between macros and the keys values * that are defined in .sc files */ - set_colors_param_dict(); - } + set_colors_param_dict(); + } #endif + } /* * If the 'output' parameter is defined, SC-IM saves its output to that file. |