Commit 035fd1fb authored by Rafaël Carré's avatar Rafaël Carré

ncurses: typo

parent 1036154b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment