summaryrefslogtreecommitdiff
path: root/src/calcurse.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/calcurse.c
parente5dee68dcf318b58a3339250ae63fa5f26cdf790 (diff)
downloadcalcurse-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/calcurse.c')
-rw-r--r--src/calcurse.c3
1 files changed, 1 insertions, 2 deletions
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 ();