summaryrefslogtreecommitdiff
path: root/src/vars.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-12 16:21:57 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-12 16:21:57 +0000
commit56949550025f447691b0f32632b35af4749da358 (patch)
treeb51bf757d54bfca2ed7a0bd8124f18e506c83d98 /src/vars.c
parentd4d29be0fa41c079ab0a9e11585f65ff5e2828cf (diff)
downloadcalcurse-56949550025f447691b0f32632b35af4749da358.zip
stdbool header removed, unsigned type used instead
Diffstat (limited to 'src/vars.c')
-rwxr-xr-xsrc/vars.c14
1 files changed, 7 insertions, 7 deletions
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;