display fix. I'm a moron
This commit is contained in:
parent
aacddea540
commit
e25225b1b1
@ -1,5 +1,5 @@
|
|||||||
# ex:ts=8 sw=4:
|
# ex:ts=8 sw=4:
|
||||||
# $OpenBSD: Reporter.pm,v 1.1.1.1 2010/08/20 13:40:14 espie Exp $
|
# $OpenBSD: Reporter.pm,v 1.2 2010/10/25 10:46:11 espie Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
|
||||||
#
|
#
|
||||||
@ -287,7 +287,8 @@ sub lines
|
|||||||
my $n = 2;
|
my $n = 2;
|
||||||
my $r = '';
|
my $r = '';
|
||||||
|
|
||||||
while (my $newline = shift @new) {
|
while (@new > 0) {
|
||||||
|
my $newline = shift @new;
|
||||||
my $oldline = shift @{$self->{oldlines}};
|
my $oldline = shift @{$self->{oldlines}};
|
||||||
return $r if $n++ > $self->{height};
|
return $r if $n++ > $self->{height};
|
||||||
# line didn't change: try to go down
|
# line didn't change: try to go down
|
||||||
|
Loading…
Reference in New Issue
Block a user