From b885c57ff0b0665dbdd1a851f9ed30db62d22dd2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 23 Oct 2002 11:46:20 +0000 Subject: fix pixel code --- perl-install/Xconfig/resolution_and_depth.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/Xconfig') diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index f946d19dd..2842ad121 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -48,6 +48,7 @@ sub size2default_resolution { my ($size) = @_; #- size in inch if (arch() =~ /ppc/) { + require detect_devices; return "1024x768" if detect_devices::get_mac_model() =~ /^PowerBook|^iMac/; } -- cgit v1.2.1