summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-10-23 11:46:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-10-23 11:46:20 +0000
commitb885c57ff0b0665dbdd1a851f9ed30db62d22dd2 (patch)
tree030397e53dae0c8ac1b4b6ac08405008b519e31c
parent30b9588a738e199af33e186ce84b3aaae243b0e0 (diff)
downloaddrakx-backup-do-not-use-b885c57ff0b0665dbdd1a851f9ed30db62d22dd2.tar
drakx-backup-do-not-use-b885c57ff0b0665dbdd1a851f9ed30db62d22dd2.tar.gz
drakx-backup-do-not-use-b885c57ff0b0665dbdd1a851f9ed30db62d22dd2.tar.bz2
drakx-backup-do-not-use-b885c57ff0b0665dbdd1a851f9ed30db62d22dd2.tar.xz
drakx-backup-do-not-use-b885c57ff0b0665dbdd1a851f9ed30db62d22dd2.zip
fix pixel code
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm1
1 files changed, 1 insertions, 0 deletions
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/;
}