summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index b99e62bac..8ae9bab7f 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -42,10 +42,10 @@ sub bios_vga_modes() { @bios_vga_modes }
sub size2default_resolution {
my ($size) = @_; #- size in inch
+ require detect_devices;
if (arch() =~ /ppc/) {
- require detect_devices;
return "1024x768" if detect_devices::get_mac_model() =~ /^PowerBook|^iMac/;
- } elsif (is_xbox()) {
+ } elsif (detect_devices::is_xbox()) {
return "640x480";
}