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/calcurse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/calcurse.c') diff --git a/src/calcurse.c b/src/calcurse.c index 4a16cdb..ab55254 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -50,7 +50,6 @@ main (int argc, char **argv) { struct conf conf; struct day_items_nb inday; - int background, foreground; int non_interactive; int no_data_file = 1; int sav_hilt_app = 0; @@ -148,7 +147,7 @@ main (int argc, char **argv) * configuration (the display is then updated), and then * the todo list, appointments and events. */ - custom_load_conf (&conf, background); + custom_load_conf (&conf); wins_erase_status_bar (); io_load_keys (conf.pager); io_load_todo (); -- cgit v1.2.3-54-g00ecf