diff options
Diffstat (limited to 'src/vars.c')
-rw-r--r-- | src/vars.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -48,6 +48,9 @@ int resize = 0; /* variable to tell if the terminal supports color */ unsigned colorize = 0; +/* Default background and foreground colors. */ +int foreground, background; + /* * To tell if curses interface was launched already or not (in that case * calcurse is running in command-line mode). @@ -120,10 +123,11 @@ vars_init (struct conf *conf) conf->confirm_quit = 1; conf->confirm_delete = 1; conf->auto_save = 1; + conf->auto_gc = 0; conf->periodic_save = 0; conf->skip_system_dialogs = 0; conf->skip_progress_bar = 0; - (void)strncpy (conf->output_datefmt, "%D", 3); + strncpy (conf->output_datefmt, "%D", 3); conf->input_datefmt = 1; /* Default external editor and pager */ |