diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:46:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-05 13:46:57 +0000 |
commit | 8f92840e9e50102c5aad4eaf5201afb632e4ec71 (patch) | |
tree | ea2a7e35259f9ff8829a1c438da99d3ba731d5c5 /perl-install/interactive/gtk.pm | |
parent | 553fd81b363be3dcfdea8e73f7f4969da0adebdb (diff) | |
download | drakx-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/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
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}; |