From: Francois Fleuret Date: Tue, 26 May 2009 07:23:12 +0000 (+0200) Subject: Cosmetics. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1fc80b6ccba754689bae3b56f54bd8089f9c1a4;p=selector.git Cosmetics. --- diff --git a/selector.cc b/selector.cc index a3d54dd..0f47dfa 100644 --- a/selector.cc +++ b/selector.cc @@ -869,6 +869,7 @@ int main(int argc, char **argv) { char pattern[buffer_size]; pattern[0] = '\0'; + int cursor_position; cursor_position = 0; @@ -909,7 +910,8 @@ int main(int argc, char **argv) { int key; int current_line = 0, temporary_line = 0; - update_screen(¤t_line, &temporary_line, 0, nb_lines, labels, cursor_position, pattern); + update_screen(¤t_line, &temporary_line, 0, + nb_lines, labels, cursor_position, pattern); do {