summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-02-23 13:38:39 +0000
committerStew Benedict <stewb@mandriva.org>2005-02-23 13:38:39 +0000
commit73ea4e24fcf8829d802e5db87395759f5e726471 (patch)
treec639b7a6884ba3165a91640ce4184e83d65c1240 /perl-install/keyboard.pm
parent0920635b65cede09a947647473aa4bbd8dc83a8f (diff)
downloaddrakx-backup-do-not-use-73ea4e24fcf8829d802e5db87395759f5e726471.tar
drakx-backup-do-not-use-73ea4e24fcf8829d802e5db87395759f5e726471.tar.gz
drakx-backup-do-not-use-73ea4e24fcf8829d802e5db87395759f5e726471.tar.bz2
drakx-backup-do-not-use-73ea4e24fcf8829d802e5db87395759f5e726471.tar.xz
drakx-backup-do-not-use-73ea4e24fcf8829d802e5db87395759f5e726471.zip
XBox support - XFdrake
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 6791d5e36..f1374b2bb 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -360,7 +360,7 @@ sub KEYBOARD2text { $keyboards{$_[0]} && $keyboards{$_[0]}[0] }
sub keyboards() { map { { KEYBOARD => $_ } } keys %keyboards }
sub keyboard2one {
my ($keyboard, $nb) = @_;
- ref $keyboard or internal_error();
+ ref $keyboard or is_xbox() ? return undef : internal_error();
my $l = $keyboards{$keyboard->{KEYBOARD}} or return;
$l->[$nb];
}