From 56949550025f447691b0f32632b35af4749da358 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 12 Jul 2009 16:21:57 +0000 Subject: stdbool header removed, unsigned type used instead --- src/vars.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/vars.c') diff --git a/src/vars.c b/src/vars.c index 3620382..7120ae1 100755 --- a/src/vars.c +++ b/src/vars.c @@ -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; -- cgit v1.2.3