aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/cal-util/calobj.c2
-rw-r--r--calendar/calobj.c2
-rw-r--r--calendar/pcs/calobj.c2
4 files changed, 7 insertions, 3 deletions
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 <miguel@nuclecu.unam.mx>
+
+ * calobj.c (daynumberlist): One line bug fix from Sergey I Panov.
+
1999-06-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
* 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;