projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6761db2
)
Cosmetics.
author
Francois Fleuret
<francois@fleuret.org>
Tue, 26 May 2009 07:23:12 +0000
(09:23 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Tue, 26 May 2009 07:23:12 +0000
(09:23 +0200)
selector.cc
patch
|
blob
|
history
diff --git
a/selector.cc
b/selector.cc
index
a3d54dd
..
0f47dfa
100644
(file)
--- 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 {