ncurses: fix first ~ line drawing

This commit is contained in:
Maxime Coste 2012-07-12 23:59:02 +02:00
parent 03d8efc249
commit 6e072d1a61

View File

@ -127,7 +127,7 @@ void NCursesClient::draw_window(Window& window)
set_attribute(A_BLINK, 0); set_attribute(A_BLINK, 0);
set_attribute(A_BOLD, 0); set_attribute(A_BOLD, 0);
set_color(Color::Blue, Color::Black); set_color(Color::Blue, Color::Black);
while (++line_index < max_y) for (;line_index < max_y; ++line_index)
{ {
move(line_index, 0); move(line_index, 0);
clrtoeol(); clrtoeol();