Code

fix a bug the makes utf8 names behave evil
authorAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 25 Aug 2006 00:17:54 +0000 (00:17 +0000)
committerAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 25 Aug 2006 00:17:54 +0000 (00:17 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4683 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/list_window.c

index 819d373a6d56541dfd92588e9bd428bbfb41518c..6492d415307a2f83cfcb02e4546c9ea07f4bdf51 100644 (file)
@@ -205,8 +205,8 @@ list_window_paint(list_window_t *lw,
          
          //waddnstr(lw->w, label, lw->cols);
          waddstr(lw->w, label);
-         if( fill && len<lw->cols )
-           mvwhline(lw->w, i, len, ' ', lw->cols-len);
+          if( fill && len<lw->cols )
+           whline(lw->w,  ' ', lw->cols-len);
 
          if( selected )
            wattroff(lw->w, A_REVERSE);