diff options
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 4ca5ee20d..8ab708853 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -475,7 +475,7 @@ sub autoDefaultDepth($$) { return 24 if $card->{identifier} =~ /SiS/; - return 16 if $card->{type} =~ /Voodoo/ && ! ($card->{type} =~ /Voodoo5/); + return 16 if $card->{type} =~ /Voodoo (?!5)/x; for ($card->{server}) { /FBDev/ and return 16; #- this should work by default, FBDev is allowed only if install currently uses it at 16bpp. |