summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/newt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/newt.pm b/perl-install/interactive/newt.pm
index b08b9b0b2..80197c779 100644
--- a/perl-install/interactive/newt.pm
+++ b/perl-install/interactive/newt.pm
@@ -218,7 +218,7 @@ sub ask_fromW_real {
};
} elsif ($e->{type} =~ /list/) {
$size = @{$e->{list}};
- my ($prefered_size) = @l == 1 && $height > 30 ? 10 : 5;
+ my $prefered_size = @l == 1 && $height > 30 ? 10 : 5;
my $scroll;
if ($size > $prefered_size && !$o->{no_individual_scroll}) {
$has_scroll = $scroll = 1;