aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/calobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/calobj.c')
-rw-r--r--calendar/pcs/calobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index dbc3bf2f1b..7b85fdc54c 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -306,7 +306,7 @@ daynumberlist (iCalObject *o, char **str)
if (val == 0){
struct tm *day = localtime (&o->dtstart);
- val = tm->tm_mday;
+ val = day->tm_mday;
}
o->recur->u.month_day = val;
first = 1;