summaryrefslogtreecommitdiff
path: root/src/wins.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-13 15:10:47 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-13 15:10:47 +0200
commitca83e6569617aa19679844986ecb929d38fc7786 (patch)
treec722586446bc817e17eea472852a198b2c85b409 /src/wins.c
parentbd4f4a136fc218f0854f5ee5219149ce5b0acdb3 (diff)
downloadcalcurse-ca83e6569617aa19679844986ecb929d38fc7786.zip
Pass date parameter to ui_day_update_panel()
This allows for drawing appointment panels for days other than the current day. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wins.c b/src/wins.c
index 4cb9b15..3ad7010 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -507,7 +507,7 @@ void wins_update_border(int flags)
void wins_update_panels(int flags)
{
if (flags & FLAG_APP)
- ui_day_update_panel(slctd_win);
+ ui_day_update_panel(slctd_win, *ui_calendar_get_slctd_day());
if (flags & FLAG_TOD)
ui_todo_update_panel(slctd_win);
if (flags & FLAG_CAL)