projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't increment nb_printed_lines when no answer
[selector.git]
/
selector.cc
diff --git
a/selector.cc
b/selector.cc
index
5ce4c4e
..
c387c68
100644
(file)
--- a/
selector.cc
+++ b/
selector.cc
@@
-295,7
+295,6
@@
void update_screen(int *current_line, int *temporary_line, int motion,
if(nb_printed_lines == 1) {
addnstr("[no selection]\n", console_width);
- nb_printed_lines++;
}
// Draw the modeline