diff options
Diffstat (limited to 'src/list_window.c')
-rw-r--r-- | src/list_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list_window.c b/src/list_window.c index 001b606fc..93bed8666 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -185,7 +185,7 @@ list_window_paint(struct list_window *lw, if (label) { int selected = lw->start + i == lw->selected; - size_t len = my_strlen(label); + unsigned len = utf8_width(label); if (highlight) colors_use(lw->w, COLOR_LIST_BOLD); |