diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-19 15:19:13 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-21 17:56:39 +0200 |
commit | 1355bad2644230b9760e62333dc4a7b72c5fb1a9 (patch) | |
tree | b60aa2d7bada81b42977e38d5415cf081b0f1ad0 /src/args.c | |
parent | e5dee68dcf318b58a3339250ae63fa5f26cdf790 (diff) | |
download | 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |