diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-05 12:05:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-05 12:05:30 +0000 |
commit | 024946449fa61d844aee9f994b407190ce9e1dc9 (patch) | |
tree | 033d2577992b97a42852b4c2a61e63d99cfd3e35 | |
parent | 17b367bb800a6d2a3cec17cc8e995f74e888fe13 (diff) | |
download | drakx-024946449fa61d844aee9f994b407190ce9e1dc9.tar drakx-024946449fa61d844aee9f994b407190ce9e1dc9.tar.gz drakx-024946449fa61d844aee9f994b407190ce9e1dc9.tar.bz2 drakx-024946449fa61d844aee9f994b407190ce9e1dc9.tar.xz drakx-024946449fa61d844aee9f994b407190ce9e1dc9.zip |
fix typos
-rw-r--r-- | perl-install/Xconfig.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm index 280b7f987..77b5b9c4b 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -207,10 +207,10 @@ sub getinfoFromDDC { } my ($h, $v, $size, @m) = @l; - $O->{hsyncrange} ||= $h =~ /^(\S*)/; - $O->{vsyncrange} ||= $v =~ /^(\S*)/; + $O->{hsyncrange} ||= first($h =~ /^(\S*)/); + $O->{vsyncrange} ||= first($v =~ /^(\S*)/); $O->{size} ||= to_float($size); - $O->{EISA_ID} = lc($1) if $size =~ /EISA ID: (\S*)/; + $O->{EISA_ID} = lc($1) if $size =~ /EISA ID=(\S*)/; $O->{modelines} ||= join '', @m; $o; } |