]> git.sesse.net Git - vlc/blobdiff - modules/gui/ncurses.c
playlist_DeleteFromInput: pass the input item rather than its ID
[vlc] / modules / gui / ncurses.c
index 709171597c9cf4da596c970070d40a9e0eacfc05..d2f8ec8d7f57fd9f8e953fd4ee7b2f969907f6a8 100644 (file)
@@ -656,7 +656,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 if( p_item->i_children == -1 )
                 {
                     playlist_DeleteFromInput( p_playlist,
-                                              p_item->p_input->i_id, pl_Locked );
+                                              p_item->p_input, pl_Locked );
                 }
                 else
                 {