From c9ea03bdcd44963dce99dbc7a70e6a030fb4e026 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 3 Sep 2013 21:39:53 +0200 Subject: fix emptyline buffer off by one --- cgi/index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/index.pl b/cgi/index.pl index 7c8db0b..0aa3e17 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -253,7 +253,7 @@ sub get_departures { } if ( not $want_crop ) { - while ( ++$displayed_lines < $no_lines ) { + while ( $displayed_lines++ < $no_lines ) { push( @fmt_departures, [ (q{}) x 3 ] ); } } -- cgit v1.2.3