diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 21:31:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-20 21:31:00 +0000 |
commit | d7a5d42e3139c33b99043a99ca11ee8b80f642cc (patch) | |
tree | ef9559dde4c296e24ecac3c08d5f0830f4e95297 /perl-install/printer/gimp.pm | |
parent | 57ba8a64b3f7ec8a5dc0a4861941f175b749839c (diff) | |
download | drakx-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/gimp.pm')
-rw-r--r-- | perl-install/printer/gimp.pm | 2 |
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 { |