summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/card.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-10 14:14:07 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-10 14:14:07 +0000
commit5ad25b83b9a0cc761b1878318c38e27e60481a02 (patch)
tree650197e2a30324236082f2d4db848764b40b808e /perl-install/Xconfig/card.pm
parent92f446697c1e6f2cc8ce693d135b501fe0e4e501 (diff)
downloaddrakx-5ad25b83b9a0cc761b1878318c38e27e60481a02.tar
drakx-5ad25b83b9a0cc761b1878318c38e27e60481a02.tar.gz
drakx-5ad25b83b9a0cc761b1878318c38e27e60481a02.tar.bz2
drakx-5ad25b83b9a0cc761b1878318c38e27e60481a02.tar.xz
drakx-5ad25b83b9a0cc761b1878318c38e27e60481a02.zip
fixed perl_checker fixes.
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-rw-r--r--perl-install/Xconfig/card.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm
index 52b61df1b..f7e5b7c6d 100644
--- a/perl-install/Xconfig/card.pm
+++ b/perl-install/Xconfig/card.pm
@@ -119,9 +119,9 @@ sub to_raw_X {
$raw_X->{xfree4}->remove_load_module('v4l') if $card->{use_DRI_GLX} && $card->{Driver} eq 'r128';
#- Specific ATI fglrx driver default options
- if($card->{Driver} eq 'fglrx') {
+ if ($card->{Driver} eq 'fglrx') {
# $default_ATI_fglrx_config need to be move in proprietary ?
- $card->{raw_LINES} = $default_ATI_fglrx_config if !$card->{raw_LINES};
+ $card->{raw_LINES} ||= $default_ATI_fglrx_config;
}
}