summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {