aboutsummaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-19 15:19:13 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-21 17:56:39 +0200
commit1355bad2644230b9760e62333dc4a7b72c5fb1a9 (patch)
treeb60aa2d7bada81b42977e38d5415cf081b0f1ad0 /src/args.c
parente5dee68dcf318b58a3339250ae63fa5f26cdf790 (diff)
downloadcalcurse-1355bad2644230b9760e62333dc4a7b72c5fb1a9.tar.gz
calcurse-1355bad2644230b9760e62333dc4a7b72c5fb1a9.zip
Declare foreground and background variables global
Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/args.c b/src/args.c
index cfa25cc..bea3a17 100644
--- a/src/args.c
+++ b/src/args.c
@@ -916,7 +916,7 @@ parse_args (int argc, char **argv, struct conf *conf)
io_check_file (path_apts, (int *)0);
io_check_file (path_conf, (int *)0);
io_load_app ();
- custom_load_conf (conf, 0); /* To get output date format. */
+ custom_load_conf (conf); /* To get output date format. */
if (dflag)
date_arg (ddate, add_line, Nflag, conf, preg);
if (rflag || sflag)
@@ -931,7 +931,7 @@ parse_args (int argc, char **argv, struct conf *conf)
io_check_file (path_apts, (int *)0);
io_check_file (path_conf, (int *)0);
vars_init (conf);
- custom_load_conf (conf, 0); /* To get output date format. */
+ custom_load_conf (conf); /* To get output date format. */
io_load_app ();
day.dd = day.mm = day.yyyy = 0;
(void)app_arg (add_line, &day, 0, Nflag, conf, preg);