summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-12-10 11:50:42 -0300
committerandmarti1424 <andmarti@gmail.com>2017-12-10 11:50:42 -0300
commitdc14b66305ad68c971f4591d39b7d7d29150fccb (patch)
tree1a6bd754019622686bb9f9fc1bbee7866e95009c
parentc287e896aee5f489cf26a4cdca8d9f8f9df93d18 (diff)
work on issue 220
-rw-r--r--src/main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 31fa98b..2a377aa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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.