From 1355bad2644230b9760e62333dc4a7b72c5fb1a9 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 19 Jul 2011 15:19:13 +0200 Subject: Declare foreground and background variables global Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer --- src/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/args.c') 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); -- cgit v1.2.3-54-g00ecf