summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
#include <stdlib.h> #include <X11/Xlib.h> int main(int argc, char **argv) { Display *d = XOpenDisplay(getenv("DISPLAY") ? getenv("DISPLAY") : ":0"); if (d == NULL) exit(1); XDisableAccessControl(d); XCloseDisplay(d); exit(0); } all/fs')
-rw-r--r--perl-install/fs/partitioning_wizard.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index e9c35c570..09bbbfcb3 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -147,10 +147,10 @@ sub partitionWizardSolutions {
#- try to keep at least 1GB free for Windows
#- try to use from 6GB to 10% free space for Linux
my $suggested_size = max(
- $part->{min_win} + 1*MB(1024),
+ $part->{min_win} + 1 * MB(1024),
min(
$part->{size} - int(0.1 * ($part->{size} - $part->{min_win})),
- $part->{size} - 6*MB(1024),
+ $part->{size} - 6 * MB(1024),
),
);
$part->{req_size} = max(min($suggested_size, $part->{size} - $part->{min_linux}), $part->{min_win});