From aa1b75b13528c723952cc1c0cd0ca078bbaddbe4 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Sat, 11 Jun 2005 09:14:52 +0000 Subject: support wide-char ncurses library (ncursesw) git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/list_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list_window.c') diff --git a/src/list_window.c b/src/list_window.c index 7bbc6e193..896662292 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -193,7 +193,7 @@ list_window_paint(list_window_t *lw, if( label ) { int selected = lw->start+i == lw->selected; - size_t len = strlen(label); + size_t len = my_strlen(label); if( highlight ) colors_use(lw->w, COLOR_LIST_BOLD); -- cgit v1.2.3