diff options
author | Frederic Culot <calcurse@culot.org> | 2009-07-12 16:21:57 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-07-12 16:21:57 +0000 |
commit | 56949550025f447691b0f32632b35af4749da358 (patch) | |
tree | b51bf757d54bfca2ed7a0bd8124f18e506c83d98 /src/vars.c | |
parent | d4d29be0fa41c079ab0a9e11585f65ff5e2828cf (diff) | |
download | calcurse-56949550025f447691b0f32632b35af4749da358.zip |
stdbool header removed, unsigned type used instead
Diffstat (limited to 'src/vars.c')
-rwxr-xr-x | src/vars.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: vars.c,v 1.16 2009/07/05 20:33:25 culot Exp $ */ +/* $calcurse: vars.c,v 1.17 2009/07/12 16:22:02 culot Exp $ */ /* * Calcurse - text-based organizer @@ -53,7 +53,7 @@ int col = 0, row = 0; /* variable to tell if the terminal supports color */ -bool colorize = false; +unsigned colorize = 0; /* * To tell if curses interface was launched already or not (in that case @@ -121,12 +121,12 @@ vars_init (conf_t *conf) char *ed, *pg; /* Variables for user configuration */ - conf->confirm_quit = true; - conf->confirm_delete = true; - conf->auto_save = true; + conf->confirm_quit = 1; + conf->confirm_delete = 1; + conf->auto_save = 1; conf->periodic_save = 0; - conf->skip_system_dialogs = false; - conf->skip_progress_bar = false; + conf->skip_system_dialogs = 0; + conf->skip_progress_bar = 0; (void)strncpy (conf->output_datefmt, "%D", 3); conf->input_datefmt = 1; |