aboutsummaryrefslogtreecommitdiff
path: root/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar.c')
-rw-r--r--calendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar.c b/calendar.c
index f99eb775..abecef89 100644
--- a/calendar.c
+++ b/calendar.c
@@ -46,6 +46,7 @@ int read_vcalendar(vcalendar* cal, char* path) {
* Preferably, a special case is made for vdir structures
* which can assume that all headers are equal. */
parse_file(f, cal);
+ cal->events[cal->n_events - 1]->filename = fname;
fclose(f);
}