summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index c91f5f666..0797d6c8b 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -203,9 +203,8 @@ sub getinfoFromDDC {
}
my ($h, $v, $size, @m) = @l;
- chop $h; chop $v;
- $O->{hsyncrange} ||= $h;
- $O->{vsyncrange} ||= $v;
+ $O->{hsyncrange} ||= chomp_($h);
+ $O->{vsyncrange} ||= chomp_($v);
$O->{size} ||= to_float($size);
$O->{modelines} ||= join '', @m;
$o;