summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-05 13:46:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-05 13:46:57 +0000
commit8f92840e9e50102c5aad4eaf5201afb632e4ec71 (patch)
treeea2a7e35259f9ff8829a1c438da99d3ba731d5c5 /perl-install/interactive
parent553fd81b363be3dcfdea8e73f7f4969da0adebdb (diff)
downloaddrakx-8f92840e9e50102c5aad4eaf5201afb632e4ec71.tar
drakx-8f92840e9e50102c5aad4eaf5201afb632e4ec71.tar.gz
drakx-8f92840e9e50102c5aad4eaf5201afb632e4ec71.tar.bz2
drakx-8f92840e9e50102c5aad4eaf5201afb632e4ec71.tar.xz
drakx-8f92840e9e50102c5aad4eaf5201afb632e4ec71.zip
replace $l[$#l] with $l[-1]
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index b0e459aab..43fc50282 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -678,7 +678,7 @@ sub wait_messageW($$$) {
$box->pack_start(shift @l, 0, 0, 4);
$box->pack_start($_, 1, 1, 4) foreach @l;
- ($w->{wait_messageW} = $l[$#l])->signal_connect(expose_event => sub { $w->{displayed} = 1; 0 });
+ ($w->{wait_messageW} = $l[-1])->signal_connect(expose_event => sub { $w->{displayed} = 1; 0 });
$w->{rwindow}->set_position('center') if $::isStandalone && !$w->{isEmbedded} && !$w->{isWizard};
$w->{window}->show_all;
$w->sync until $w->{displayed};