summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-28 16:25:22 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-28 16:25:22 +0000
commit0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24 (patch)
treec971ae621e9f0eca6149b31792d9213dc0284346 /perl-install/fs
parent19cbf4ef17c5b951b596fcf6c3d24c4d09474978 (diff)
downloaddrakx-0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24.tar
drakx-0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24.tar.gz
drakx-0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24.tar.bz2
drakx-0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24.tar.xz
drakx-0ca23c4869d779c99dd2b4af0f3e11a6f50f5a24.zip
use ratio variable
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 4f9a639d8..8919677cc 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -360,7 +360,7 @@ sub create_display_box {
0;
};
my $update_req_size = sub {
- $part->{req_size} = int($hpane->get_position * $part->{size} / $part->{width});
+ $part->{req_size} = int($hpane->get_position / $ratio);
$update_size_labels->();
};
my $button_activate = sub {