summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-24 10:23:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-24 10:23:21 +0000
commit7e5672eb837597a08dc886dc022f704be9b97665 (patch)
tree51aba798e9eb6501aa32cc1cfdbf4d759a031b3b /perl-install/Xconfig.pm
parent5d8a5663900537c6695f08692920d666f5ec9213 (diff)
downloaddrakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.gz
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.bz2
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.xz
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.zip
generalize the use of chomp_ as the functional alternative to chomp (and works on lists)
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;