From d7a5d42e3139c33b99043a99ca11ee8b80f642cc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 20 May 2003 21:31:00 +0000 Subject: (pop_spaces) prevent infinite loop --- perl-install/printer/gimp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/printer/gimp.pm b/perl-install/printer/gimp.pm index d2ec86092..91707a60e 100644 --- a/perl-install/printer/gimp.pm +++ b/perl-install/printer/gimp.pm @@ -284,7 +284,7 @@ sub addprinter { sub pop_spaces { my @lines = @_; - pop @lines while $lines[-1] !~ /\S/; + pop @lines while @lines $lines[-1] !~ /\S/; } sub removeentry { -- cgit v1.2.1