From 692963621cddb58cf2f1744210fa415661fa30b6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 23 Feb 2005 15:25:30 +0000 Subject: cleanup is_xbox() here too --- perl-install/common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/common.pm') diff --git a/perl-install/common.pm b/perl-install/common.pm index 6a1f48675..792ff6534 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -258,7 +258,7 @@ sub check_for_xserver() { } sub is_xbox() { - return any { $_->{vendor} . $_->{id} == hex('10de') . hex('02a5') } detect_devices::pci_probe(); + any { $_->{vendor} == 0x10de && $_->{id} == 0x02a5 } detect_devices::pci_probe(); } #- special unpack -- cgit v1.2.1