summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-20 07:46:08 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-20 07:46:08 +0000
commit732b403d9a4b616f95bb5171535d3b8f9035b42f (patch)
treef5a2e30c9817b0e6bc6b2cf4c49e24efd1c6b3d4 /perl-install/Xconfig
parentbfb5c11017c5a7a76c860d3e01c70ce562231b3f (diff)
downloaddrakx-732b403d9a4b616f95bb5171535d3b8f9035b42f.tar
drakx-732b403d9a4b616f95bb5171535d3b8f9035b42f.tar.gz
drakx-732b403d9a4b616f95bb5171535d3b8f9035b42f.tar.bz2
drakx-732b403d9a4b616f95bb5171535d3b8f9035b42f.tar.xz
drakx-732b403d9a4b616f95bb5171535d3b8f9035b42f.zip
perl_checker fix
Diffstat (limited to 'perl-install/Xconfig')
-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);
}