diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-10-23 11:46:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-10-23 11:46:20 +0000 |
commit | b885c57ff0b0665dbdd1a851f9ed30db62d22dd2 (patch) | |
tree | 030397e53dae0c8ac1b4b6ac08405008b519e31c /perl-install/Xconfig | |
parent | 30b9588a738e199af33e186ce84b3aaae243b0e0 (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 1 |
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/; } |