aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/timeutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/timeutil.c')
-rw-r--r--calendar/timeutil.c2
1 files changed, 1 insertions, 1 deletions
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