diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-19 13:36:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-19 13:36:08 +0000 |
commit | c2b44f66b9d3bccd78764b208feaa9d9a119a0a1 (patch) | |
tree | d9a3be817d231502da399f056374e25491551ae0 /perl-install/Xconfig.pm | |
parent | 6a05c7c12fcc70058febc82d139dbe4155ac951b (diff) | |
download | drakx-c2b44f66b9d3bccd78764b208feaa9d9a119a0a1.tar drakx-c2b44f66b9d3bccd78764b208feaa9d9a119a0a1.tar.gz drakx-c2b44f66b9d3bccd78764b208feaa9d9a119a0a1.tar.bz2 drakx-c2b44f66b9d3bccd78764b208feaa9d9a119a0a1.tar.xz drakx-c2b44f66b9d3bccd78764b208feaa9d9a119a0a1.zip |
no_comment
Diffstat (limited to 'perl-install/Xconfig.pm')
-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 a65bdb29c..d87e32d88 100644 --- a/perl-install/Xconfig.pm +++ b/perl-install/Xconfig.pm @@ -78,7 +78,7 @@ sub getinfoFromXF86Config { undef $driver if $s == 1; $driver = $1 if /^\s*Driver\s+"(.*?)"/; if ($driver eq $Xconfigurator::serversdriver{$o->{card}{server}}) { - $o->{card}{default_depth} ||= $1 if /^\s*DefaultColorDepth\s+(\d+)/; + $o->{default_depth} ||= $1 if /^\s*DefaultColorDepth\s+(\d+)/; if (my $i = /^\s*Subsection\s+"Display"/ .. /^\s*EndSubsection/) { undef $depth if $i == 1; $depth = $1 if /^\s*Depth\s+(\d*)/; @@ -94,8 +94,8 @@ sub getinfoFromXF86Config { #- get the default resolution according the the current file. my @depth = keys %{$o->{card}{depth}}; $o->{resolution_wanted} ||= - ($o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][0]) . "x" . - ($o->{card}{depth}{$o->{card}{default_depth} || $depth[0]}[0][1]); + ($o->{card}{depth}{$o->{default_depth} || $depth[0]}[0][0]) . "x" . + ($o->{card}{depth}{$o->{default_depth} || $depth[0]}[0][1]); $o; } |