* minor update to the current playlist API
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 21 Oct 2006 12:27:27 +0000 (12:27 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 21 Oct 2006 12:27:27 +0000 (12:27 +0000)
modules/gui/ncurses.c

index 05088b9..e0566b0 100644 (file)
@@ -523,7 +523,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 p_sys->i_box_plidx = 0;
                 break;
             case KEY_END:
-                p_sys->i_box_plidx = p_sys->p_playlist->i_size - 1;
+                p_sys->i_box_plidx = p_sys->p_playlist->items.i_size - 1;
                 break;
             case KEY_UP:
                 p_sys->i_box_plidx--;