aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/day.c')
-rw-r--r--src/day.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/day.c b/src/day.c
index 2d0737e..7ad0b27 100644
--- a/src/day.c
+++ b/src/day.c
@@ -352,7 +352,7 @@ display_item (int incolor, char *msg, int recur, int note, int width, int y,
{
WINDOW *win;
int ch_recur, ch_note;
- char buf[width * 6];
+ char buf[width * UTF8_MAXLEN];
int i;
if (width <= 0)