aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2005-06-11 09:14:52 +0000
committerKalle Wallin <kaw@linux.se>2005-06-11 09:14:52 +0000
commitaa1b75b13528c723952cc1c0cd0ca078bbaddbe4 (patch)
tree0f292ffb5c3da0ab9f6d48fea22d48c3fb3f50a9 /src/list_window.c
parent38880bd748572c2f3b05c6625ab1029ece2483c4 (diff)
downloadmpd-aa1b75b13528c723952cc1c0cd0ca078bbaddbe4.tar.gz
mpd-aa1b75b13528c723952cc1c0cd0ca078bbaddbe4.tar.xz
mpd-aa1b75b13528c723952cc1c0cd0ca078bbaddbe4.zip
support wide-char ncurses library (ncursesw)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/list_window.c2
1 files changed, 1 insertions, 1 deletions
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);