aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/timeutil.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 8dc5fd0a12..f971250cde 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 31 23:46:50 1998 Tom Tromey <tromey@cygnus.com>
+
+ * timeutil.c (format_simple_hour): `buf' now static.
+
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal.c: Removed #include "gtkcalendar.h", because it now comes
diff --git a/calendar/timeutil.c b/calendar/timeutil.c
index fb3bce4582..c9e574fbfd 100644
--- a/calendar/timeutil.c
+++ b/calendar/timeutil.c
@@ -39,7 +39,7 @@ time_from_start_duration (time_t start, char *duration)
char *
format_simple_hour (int hour, int use_am_pm)
{
- char buf[256];
+ static char buf[256];
/* I don't know whether this is the best way to internationalize it.
* Does any language use different conventions? - Federico