summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-09 08:08:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-09 08:08:19 +0000
commit6cf13cfc3f58eda6a200445b28a3fa102641a432 (patch)
treee437c37721d48f0287173b6273c99a160902ee11
parent70a8e40c6a37b5ac88b25b75dd65921baee1d397 (diff)
downloaddrakx-kbd-mouse-x11-6cf13cfc3f58eda6a200445b28a3fa102641a432.tar
drakx-kbd-mouse-x11-6cf13cfc3f58eda6a200445b28a3fa102641a432.tar.gz
drakx-kbd-mouse-x11-6cf13cfc3f58eda6a200445b28a3fa102641a432.tar.bz2
drakx-kbd-mouse-x11-6cf13cfc3f58eda6a200445b28a3fa102641a432.tar.xz
drakx-kbd-mouse-x11-6cf13cfc3f58eda6a200445b28a3fa102641a432.zip
- fix using proprietary driver (remove debug code) (thanks to Michael Altizer)
-rw-r--r--NEWS2
-rw-r--r--lib/Xconfig/card.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 78c2d95..8518e67 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix using proprietary driver (remove debug code) (thanks to Michael Altizer)
+
Version 0.16 - 30 April 2007, by Pascal "Pixel" Rigaux
- ask "Do you wish to use proprietary driver" before installing the needed packages
diff --git a/lib/Xconfig/card.pm b/lib/Xconfig/card.pm
index 029416b..5ac034a 100644
--- a/lib/Xconfig/card.pm
+++ b/lib/Xconfig/card.pm
@@ -332,7 +332,7 @@ sub configure_Driver2 {
if ($card->{Driver2}) {
require Xconfig::proprietary;
- if (my $card2 = Xconfig::proprietary::may_use_Driver2($card) && 0) {
+ if (my $card2 = Xconfig::proprietary::may_use_Driver2($card)) {
$card = $card2;
} else {
$o_in && $o_in->ask_warn('', formatAlaTeX(N("The proprietary driver was not properly installed, defaulting to free software driver.")));