summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}
}