diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 20:38:23 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 20:38:23 +0000 |
commit | b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3 (patch) | |
tree | 0cc03dcab7495284f61cd053c0daa80cdefb1f9d /perl-install/Xconfig/card.pm | |
parent | f3690f171b76d302264f093fa787d663e6865a1b (diff) | |
download | drakx-backup-do-not-use-b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3.tar drakx-backup-do-not-use-b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3.tar.gz drakx-backup-do-not-use-b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3.tar.bz2 drakx-backup-do-not-use-b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3.tar.xz drakx-backup-do-not-use-b2e3d4b89bdc2c8de7f400ef8cd036f44fa63be3.zip |
don't vivify @cards
Diffstat (limited to 'perl-install/Xconfig/card.pm')
-rw-r--r-- | perl-install/Xconfig/card.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/card.pm b/perl-install/Xconfig/card.pm index 58634405a..562c328c9 100644 --- a/perl-install/Xconfig/card.pm +++ b/perl-install/Xconfig/card.pm @@ -379,7 +379,7 @@ sub multi_head_choices { my ($want_Xinerama, @cards) = @_; my @choices; - my $has_multi_head = @cards > 1 || $cards[0]{MULTI_HEAD} > 1; + my $has_multi_head = @cards > 1 || @cards && $cards[0]{MULTI_HEAD} > 1; my $disable_multi_head = any { $_->{Driver} or log::l("found card $_->{description} not supported by XF4, disabling multi-head support"); !$_->{Driver}; |