summaryrefslogtreecommitdiffstats
path: root/perl-install/printer
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-20 21:31:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-20 21:31:00 +0000
commitd7a5d42e3139c33b99043a99ca11ee8b80f642cc (patch)
treeef9559dde4c296e24ecac3c08d5f0830f4e95297 /perl-install/printer
parent57ba8a64b3f7ec8a5dc0a4861941f175b749839c (diff)
downloaddrakx-d7a5d42e3139c33b99043a99ca11ee8b80f642cc.tar
drakx-d7a5d42e3139c33b99043a99ca11ee8b80f642cc.tar.gz
drakx-d7a5d42e3139c33b99043a99ca11ee8b80f642cc.tar.bz2
drakx-d7a5d42e3139c33b99043a99ca11ee8b80f642cc.tar.xz
drakx-d7a5d42e3139c33b99043a99ca11ee8b80f642cc.zip
(pop_spaces) prevent infinite loop
Diffstat (limited to 'perl-install/printer')
-rw-r--r--perl-install/printer/gimp.pm2
1 files changed, 1 insertions, 1 deletions
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 {