diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-29 20:59:09 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-29 20:59:09 +0000 |
commit | 2767b1f0e9cdb4193f3682ad94bd47de4491e925 (patch) | |
tree | 295eb62c1d0c3c70d0e938f185cee3c4efac8906 /src/calcurse.c | |
parent | fa87c918480a3ef6449a4d2decc20e455c133477 (diff) | |
download | calcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.tar.gz calcurse-2767b1f0e9cdb4193f3682ad94bd47de4491e925.zip |
compiler warnings fixed
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-x | src/calcurse.c | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 2b55538..95edc0f 100755 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,4 +1,4 @@ -/* $calcurse: calcurse.c,v 1.51 2007/07/28 13:11:42 culot Exp $ */ +/* $calcurse: calcurse.c,v 1.52 2007/07/29 20:59:09 culot Exp $ */ /* * Calcurse - text-based organizer @@ -28,33 +28,16 @@ #include <config.h> #endif /* HAVE_CONFIG_H */ -#include <sys/types.h> -#include <sys/wait.h> -#include <ncurses.h> -#include <unistd.h> -#include <signal.h> -#include <pthread.h> -#include <time.h> -#include <string.h> #include <stdlib.h> -#include <stdbool.h> -#include <math.h> -#include <locale.h> -#include <stdio.h> +#include <signal.h> #include "i18n.h" #include "io.h" #include "help.h" -#include "calendar.h" #include "custom.h" #include "utils.h" -#include "vars.h" #include "sigs.h" -#include "wins.h" -#include "apoint.h" #include "day.h" -#include "event.h" -#include "recur.h" #include "todo.h" #include "args.h" #include "notify.h" @@ -146,8 +129,10 @@ main(int argc, char **argv) init_pair(COLR_HIGH, COLOR_BLACK, COLOR_GREEN); init_pair(COLR_CUSTOM, COLOR_RED, background); - } else + } else { colorize = false; + background = COLOR_BLACK; + } vars_init(&conf); wins_init(&win[CALENDAR], &win[APPOINTMENT], &win[TODO], &win[STATUS]); |