From 8d9de92b641cae8302bbfe9681c487bfea9401f8 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 13 Apr 2011 08:55:31 +0200 Subject: [PATCH] Fixed the line lengths to fill the console width fully. --- selector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selector.c b/selector.c index ca9d392..3b68b47 100644 --- 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++; } -- 2.20.1