summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/gimp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/gimp.pm')
-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 91707a60e..079563ed7 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 $lines[-1] !~ /\S/;
+ pop @lines while @lines and $lines[-1] !~ /\S/;
}
sub removeentry {