diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-09-03 21:39:53 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-09-03 21:39:53 +0200 |
commit | c9ea03bdcd44963dce99dbc7a70e6a030fb4e026 (patch) | |
tree | b68bcabbbe90828bdcb31d5371360f9f3bb97bd7 | |
parent | 295eb7553ae682bc03cdbf14b2c6dca0870f3cbe (diff) |
fix emptyline buffer off by one
-rw-r--r-- | cgi/index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 ] ); } } |