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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/xfreeX.pm b/perl-install/Xconfig/xfreeX.pm
index 665b47177..e809e693b 100644
--- a/perl-install/Xconfig/xfreeX.pm
+++ b/perl-install/Xconfig/xfreeX.pm
@@ -190,7 +190,7 @@ sub set_resolution {
'"default"';
} else {
my @Modes = grep {
- /(\d+)x(\d+)/;
+ m/(\d+)x(\d+)/;
$1 <= $resolution->{X} && (!$resolution->{Y} || $2 <= $resolution->{Y});
} reverse our @resolutions;
join(" ", map { qq("$_") } @Modes);