From 884efbf2a9f212c1e71233878435ce473deca127 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Thu, 3 Jun 1999 19:03:20 +0000 Subject: One line bug fix from Sergey I Panov. 1999-06-03 Miguel de Icaza * calobj.c (daynumberlist): One line bug fix from Sergey I Panov. svn path=/trunk/; revision=969 --- calendar/ChangeLog | 4 ++++ calendar/cal-util/calobj.c | 2 +- calendar/calobj.c | 2 +- calendar/pcs/calobj.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4eaa72306b..1ecef9bc43 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +1999-06-03 Miguel de Icaza + + * calobj.c (daynumberlist): One line bug fix from Sergey I Panov. + 1999-06-02 Miguel de Icaza * view-utils.c (nicetime): Use %H instead of %k, as %k is a GNU diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c index dbc3bf2f1b..7b85fdc54c 100644 --- a/calendar/cal-util/calobj.c +++ b/calendar/cal-util/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; diff --git a/calendar/calobj.c b/calendar/calobj.c index dbc3bf2f1b..7b85fdc54c 100644 --- a/calendar/calobj.c +++ b/calendar/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; 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; -- cgit v1.2.3