summaryrefslogtreecommitdiffstats
path: root/src/ui-calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui-calendar.c')
-rw-r--r--src/ui-calendar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui-calendar.c b/src/ui-calendar.c
index e4e1b4d..97cabf4 100644
--- a/src/ui-calendar.c
+++ b/src/ui-calendar.c
@@ -208,6 +208,12 @@ static int ui_calendar_get_wday(struct date *date)
return t.tm_wday;
}
+/* Set the selected day in the calendar. */
+void ui_calendar_set_slctd_day(struct date day)
+{
+ slctd_day = day;
+}
+
void ui_calendar_monthly_view_cache_set_invalid(void)
{
monthly_view_cache_valid = 0;