aboutsummaryrefslogtreecommitdiffstats
path: root/src/vars.h
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.h
parentd4d29be0fa41c079ab0a9e11585f65ff5e2828cf (diff)
downloadcalcurse-56949550025f447691b0f32632b35af4749da358.tar.gz
calcurse-56949550025f447691b0f32632b35af4749da358.zip
stdbool header removed, unsigned type used instead
Diffstat (limited to 'src/vars.h')
-rwxr-xr-xsrc/vars.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/vars.h b/src/vars.h
index 3c28e78..1f220e8 100755
--- a/src/vars.h
+++ b/src/vars.h
@@ -1,4 +1,4 @@
-/* $calcurse: vars.h,v 1.33 2009/07/05 20:33:26 culot Exp $ */
+/* $calcurse: vars.h,v 1.34 2009/07/12 16:22:02 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -54,7 +54,6 @@
#endif
#include <pthread.h>
-#include <stdbool.h>
#define DIR_NAME ".calcurse/"
#define TODO_PATH_NAME "todo"
@@ -135,12 +134,12 @@ struct nbar_s
/* General configuration variables */
typedef struct
{
- bool auto_save;
+ unsigned auto_save;
unsigned periodic_save;
- bool confirm_quit;
- bool confirm_delete;
- bool skip_system_dialogs;
- bool skip_progress_bar;
+ unsigned confirm_quit;
+ unsigned confirm_delete;
+ unsigned skip_system_dialogs;
+ unsigned skip_progress_bar;
char *editor;
char *pager;
char output_datefmt[BUFSIZ]; /* format for displaying date */
@@ -149,7 +148,7 @@ typedef struct
conf_t;
extern int col, row;
-extern bool colorize;
+extern unsigned colorize;
extern ui_mode_e ui_mode;
extern int days[12];
extern char *monthnames[12];