diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:47:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-11 09:47:26 +0000 |
commit | 018e3f1fc711adc4fe556850cd2dacd6c7f6f91b (patch) | |
tree | a568558a773fdd5b0e7c29c80c0cdb4e2c636482 /perl-install | |
parent | 9f4fa45be5a5f2d2ec0d37f190ee140dba817b7b (diff) | |
download | drakx-018e3f1fc711adc4fe556850cd2dacd6c7f6f91b.tar drakx-018e3f1fc711adc4fe556850cd2dacd6c7f6f91b.tar.gz drakx-018e3f1fc711adc4fe556850cd2dacd6c7f6f91b.tar.bz2 drakx-018e3f1fc711adc4fe556850cd2dacd6c7f6f91b.tar.xz drakx-018e3f1fc711adc4fe556850cd2dacd6c7f6f91b.zip |
(main) fix 2 three years old perl_checker warnings
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs/partitioning_wizard.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm index 58acbf54d..2c0d14a4f 100644 --- a/perl-install/fs/partitioning_wizard.pm +++ b/perl-install/fs/partitioning_wizard.pm @@ -535,14 +535,14 @@ sub main { $scroll->add($vp); $mainbox->add($scroll); - my $kind = @kinds[$combobox->get_active]; + my $kind = $kinds[$combobox->get_active]; my %solutions = partitionWizardSolutions($o, $all_hds, $fstab, $manual_fstab, $partitions, $partitioning_flags, $skip_mtab, diskdrake::hd_gtk::kind2hd($kind)); delete $solutions{diskdrake} if $b_nodiskdrake; $mainw->{kind} = $kind; display_choices($o, $contentbox, $mainw, %solutions); $combobox->signal_connect("changed", sub { - $mainw->{kind} = @kinds[$combobox->get_active]; + $mainw->{kind} = $kinds[$combobox->get_active]; my %solutions = partitionWizardSolutions($o, $all_hds, $fstab, $manual_fstab, $partitions, $partitioning_flags, $skip_mtab, diskdrake::hd_gtk::kind2hd($mainw->{kind})); delete $solutions{diskdrake} if $b_nodiskdrake; display_choices($o, $contentbox, $mainw, %solutions); |