summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 17:26:06 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 17:26:06 +0000
commite6c756c60b445cc836c91b44ef4858eb1e1ecc50 (patch)
tree7f8ed29563335df4c819e11cb2d190acca90b665 /perl-install/fs
parentbbabd792470275532095c1a9bb7853a151af51fb (diff)
downloaddrakx-e6c756c60b445cc836c91b44ef4858eb1e1ecc50.tar
drakx-e6c756c60b445cc836c91b44ef4858eb1e1ecc50.tar.gz
drakx-e6c756c60b445cc836c91b44ef4858eb1e1ecc50.tar.bz2
drakx-e6c756c60b445cc836c91b44ef4858eb1e1ecc50.tar.xz
drakx-e6c756c60b445cc836c91b44ef4858eb1e1ecc50.zip
simplify
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index d9139066f..7b7550e62 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -304,9 +304,8 @@ sub create_display_box {
my $part_sep;
my $desc;
- my $last;
+ my $last = $resize && $resize->[-1];
- $last = $resize->[-1] if $resize;
foreach my $entry (@parts) {
my $part_info = Gtk2::Label->new($entry->{device_LABEL});
my @colorized_fs_types = qw(ext2 ext3 ext4 xfs swap vfat ntfs ntfs-3g);