aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui-day.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui-day.c b/src/ui-day.c
index 9ec0bc8..1cc9eb0 100644
--- a/src/ui-day.c
+++ b/src/ui-day.c
@@ -915,6 +915,7 @@ static char *fmt_day_heading(time_t date)
struct string s;
localtime_r(&date, &tm);
+ string_init(&s);
string_printf(&s, "%s ", ui_calendar_get_pom(date));
string_catftime(&s, conf.day_heading, &tm);
return string_buf(&s);