projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9989270
)
Fixed the line lengths to fill the console width fully.
author
Francois Fleuret
<francois@fleuret.org>
Wed, 13 Apr 2011 06:55:31 +0000
(08:55 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Wed, 13 Apr 2011 06:55:31 +0000
(08:55 +0200)
selector.c
patch
|
blob
|
history
diff --git
a/selector.c
b/selector.c
index
ca9d392
..
3b68b47
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-603,7
+603,7
@@
void update_screen(int *current_focus_line, int *displayed_focus_line,
if(match(&matcher, lines[l])) {
int k = 0;
- while(lines[l][k] && k < BUFFER_SIZE - 2 && k < console_width
- 2
) {
+ while(lines[l][k] && k < BUFFER_SIZE - 2 && k < console_width) {
buffer[k] = lines[l][k];
k++;
}