Commit 515c1d35 authored by Rafaël Carré's avatar Rafaël Carré

correct comments

parent 04526ea8
...@@ -348,7 +348,7 @@ static void CheckIdx(intf_sys_t *p_sys) ...@@ -348,7 +348,7 @@ static void CheckIdx(intf_sys_t *p_sys)
} }
/* Fix box start (1st line of the box displayed) */ /* Fix box start (1st line of the box displayed) */
if (p_sys->i_box_idx < p_sys->i_box_start || if (p_sys->i_box_idx < p_sys->i_box_start ||
p_sys->i_box_idx > height + p_sys->i_box_start + 1) p_sys->i_box_idx > height + p_sys->i_box_start + 1)
{ {
p_sys->i_box_start = p_sys->i_box_idx - height/2; p_sys->i_box_start = p_sys->i_box_idx - height/2;
...@@ -776,7 +776,7 @@ static int SubDrawObject(intf_sys_t *p_sys, int l, vlc_object_t *p_obj, int i_le ...@@ -776,7 +776,7 @@ static int SubDrawObject(intf_sys_t *p_sys, int l, vlc_object_t *p_obj, int i_le
return l; return l;
} }
static int DrawObjects(intf_thread_t *p_intf) static int DrawObjects(intf_thread_t *p_intf)
{ {
return SubDrawObject(p_intf->p_sys, 0, VLC_OBJECT(p_intf->p_libvlc), 0, ""); return SubDrawObject(p_intf->p_sys, 0, VLC_OBJECT(p_intf->p_libvlc), 0, "");
} }
...@@ -1918,12 +1918,12 @@ static int Open(vlc_object_t *p_this) ...@@ -1918,12 +1918,12 @@ static int Open(vlc_object_t *p_this)
if (p_sys->b_color) if (p_sys->b_color)
start_color_and_pairs(p_intf); start_color_and_pairs(p_intf);
keypad(stdscr, TRUE); /* Don't do NL -> CR/NL */ keypad(stdscr, TRUE);
nonl(); /* Take input chars one at a time */ nonl(); /* Don't do NL -> CR/NL */
cbreak(); /* Don't echo */ cbreak(); /* Take input chars one at a time */
noecho(); /* Invisible cursor */ noecho(); /* Don't echo */
curs_set(0); /* Non blocking getch() */ curs_set(0); /* Invisible cursor */
timeout(1000); timeout(1000); /* blocking getch() */
clear(); clear();
/* Stop printing errors to the console */ /* Stop printing errors to the console */
......
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