]> git.sesse.net Git - vlc/commitdiff
ncurses: typo
authorRafaël Carré <rafael.carre@gmail.com>
Fri, 29 Oct 2010 16:09:52 +0000 (18:09 +0200)
committerRafaël Carré <rafael.carre@gmail.com>
Fri, 29 Oct 2010 16:09:52 +0000 (18:09 +0200)
modules/gui/ncurses.c

index cd85170395d6d265cce1abd1e3eb4a9c6c766c74..9b71175db9e45723823cda6e18484be29d775ad9 100644 (file)
@@ -327,7 +327,7 @@ next:
  *****************************************************************************/
 static void CheckIdx(intf_sys_t *p_sys)
 {
-    int lines = p_sys->i_box_lines_total - 1;
+    int lines = p_sys->i_box_lines_total;
     int height = LINES - p_sys->i_box_y - 2;
     if (height > lines - 1)
         height = lines - 1;