summaryrefslogtreecommitdiffstats
path: root/src/todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/todo.c')
-rw-r--r--src/todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/todo.c b/src/todo.c
index 43d5ad5..a6b5687 100644
--- a/src/todo.c
+++ b/src/todo.c
@@ -374,7 +374,7 @@ display_todo_item (int incolor, char *msg, int prio, int note, int width, int y,
{
WINDOW *w;
int ch_note;
- char buf[width * 6], priostr[2];
+ char buf[width * UTF8_MAXLEN], priostr[2];
int i;
w = win[TOD].p;