Code

typo
authorKalle Wallin <kaw@linux.se>
Tue, 28 Mar 2006 09:45:42 +0000 (09:45 +0000)
committerKalle Wallin <kaw@linux.se>
Tue, 28 Mar 2006 09:45:42 +0000 (09:45 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3962 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/list_window.c
src/screen.c

index 05f5630e9b4e5d6228132a16edcd736a17c71278..819d373a6d56541dfd92588e9bd428bbfb41518c 100644 (file)
@@ -204,7 +204,7 @@ list_window_paint(list_window_t *lw,
            wattron(lw->w, A_REVERSE);
          
          //waddnstr(lw->w, label, lw->cols);
-         waddnstr(lw->w, label);
+         waddstr(lw->w, label);
          if( fill && len<lw->cols )
            mvwhline(lw->w, i, len, ' ', lw->cols-len);
 
index 0a3b2f7215a93b2f1a48bbf9185102917dcc92c7..73092073ef418ff7cbb3035c51c53c7f68f6be8a 100644 (file)
@@ -399,7 +399,7 @@ paint_status_window(mpdclient_t *c)
          g_free(tmp);    
        }
       //mvwaddnstr(w, 0, x, songname, width);
-      mvwaddnstr(w, 0, x, songname);
+      mvwaddstr(w, 0, x, songname);
     } 
 
   /* display time string */