summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/xfreeX.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/xfreeX.pm')
-rw-r--r--perl-install/Xconfig/xfreeX.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/xfreeX.pm b/perl-install/Xconfig/xfreeX.pm
index 7f79f19f9..deb69823c 100644
--- a/perl-install/Xconfig/xfreeX.pm
+++ b/perl-install/Xconfig/xfreeX.pm
@@ -189,8 +189,8 @@ sub set_resolution {
'"default"';
} else {
my @Modes = grep {
- m/(\d+)x(\d+)/;
- $1 <= $resolution->{X} && (!$resolution->{Y} || $2 <= $resolution->{Y});
+ if_(m/(\d+)x(\d+)/,
+ $1 <= $resolution->{X} && (!$resolution->{Y} || $2 <= $resolution->{Y}));
} reverse our @resolutions;
join(" ", map { qq("$_") } @Modes);
}