summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-16 14:27:22 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-16 14:27:22 +0000
commitbc3933d7ba6ecfb521d1232842587fd0522b2861 (patch)
tree204d128081c9651d6f6dcfe327b6e0028e48dcf3
parentce305a9ef75ea9e802cf23bcd78ae28c90e15542 (diff)
downloaddrakx-bc3933d7ba6ecfb521d1232842587fd0522b2861.tar
drakx-bc3933d7ba6ecfb521d1232842587fd0522b2861.tar.gz
drakx-bc3933d7ba6ecfb521d1232842587fd0522b2861.tar.bz2
drakx-bc3933d7ba6ecfb521d1232842587fd0522b2861.tar.xz
drakx-bc3933d7ba6ecfb521d1232842587fd0522b2861.zip
fixed HASH() in /etc/X11/XF86Config*.
-rw-r--r--perl-install/Xconfig.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index 6e53f4069..58cad73ff 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -76,7 +76,7 @@ sub getinfoFromXF86Config {
$monitor{vsyncrange} ||= $1 if /^\s*VertRefresh\s+(.*)/;
$monitor{vendor} ||= $1 if /^\s*VendorName\s+"(.*?)"/;
$monitor{model} ||= $1 if /^\s*ModelName\s+"(.*?)"/;
- $monitor{modelines}{"$1_$2"} = $_ if /^\s*Mode[lL]ine\s+(\S+)\s+(\S+)\s+/;
+ $monitor{modelines_}{"$1_$2"} = $_ if /^\s*Mode[lL]ine\s+(\S+)\s+(\S+)\s+/;
} elsif (my $s = /^Section "Screen"/ .. /^EndSection/) {
$card{default_depth} ||= $1 if /^\s*DefaultColorDepth\s+(\d+)/;
if (my $i = /^\s*Subsection\s+"Display"/ .. /^\s*EndSubsection/) {
@@ -116,7 +116,7 @@ sub getinfoFromXF86Config {
$monitor{vsyncrange} ||= $1 if /^\s*VertRefresh\s+(.*)/;
$monitor{vendor} ||= $1 if /^\s*VendorName\s+"(.*?)"/;
$monitor{model} ||= $1 if /^\s*ModelName\s+"(.*?)"/;
- $monitor{modelines}{"$1_$2"} = $_ if /^\s*Mode[lL]ine\s+(\S+)\s+(\S+)\s+/;
+ $monitor{modelines_}{"$1_$2"} = $_ if /^\s*Mode[lL]ine\s+(\S+)\s+(\S+)\s+/;
} elsif (my $i = /^Section "Device"/ .. /^EndSection/) {
%c = () if $i == 1;