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>
This commit is contained in:
Lukas Fleischer
2014-05-13 15:10:47 +02:00
parent bd4f4a136f
commit ca83e65696
3 changed files with 3 additions and 5 deletions

View File

@@ -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)