]> git.sesse.net Git - vlc/commitdiff
ncurses: removes useless unused parameter warnings, mvhline()->mvwhline()
authorRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 17:33:02 +0000 (17:33 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 17:33:02 +0000 (17:33 +0000)
modules/gui/ncurses.c

index 3d33e8be142921666381e60d8e3f301562b01f3f..3f5f1f6e35fe00bb3010399b131de3243ac3b5e9 100644 (file)
@@ -2203,6 +2203,8 @@ static void PlaylistAddNode( intf_thread_t *p_intf, playlist_item_t *p_node,
 static int PlaylistChanged( vlc_object_t *p_this, const char *psz_variable,
                             vlc_value_t oval, vlc_value_t nval, void *param )
 {
+    VLC_UNUSED(p_this); VLC_UNUSED(psz_variable);
+    VLC_UNUSED(oval); VLC_UNUSED(nval);
     intf_thread_t *p_intf = (intf_thread_t *)param;
     playlist_t *p_playlist = pl_Get( p_intf );
     p_intf->p_sys->b_need_update = VLC_TRUE;
@@ -2542,7 +2544,7 @@ static void DrawEmptyLine( WINDOW *win, int y, int x, int w )
 {
     if( w > 0 )
     {
-        mvhline( y, x, ' ', w );
+        mvwhline( win, y, x, ' ', w );
     }
 }
 
@@ -2551,7 +2553,7 @@ static void DrawLine( WINDOW *win, int y, int x, int w )
     if( w > 0 )
     {
         attrset( A_REVERSE );
-        mvhline( y, x, ' ', w );
+        mvwhline( win, y, x, ' ', w );
         attroff( A_REVERSE );
     }
 }