From f1fc80b6ccba754689bae3b56f54bd8089f9c1a4 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 26 May 2009 09:23:12 +0200 Subject: [PATCH] Cosmetics. --- selector.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- 2.39.5