summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-08 12:50:22 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-08 12:50:22 +0000
commit477f9e81cb3aa78829210942e8185e8146c6cd5e (patch)
tree9d8a4134a0c54dd54fbf623adff5d039f7a844c6 /perl-install/Xconfigurator.pm
parent38c803288507d86bfd04daf2f7a4b656f2c7de7b (diff)
downloaddrakx-backup-do-not-use-477f9e81cb3aa78829210942e8185e8146c6cd5e.tar
drakx-backup-do-not-use-477f9e81cb3aa78829210942e8185e8146c6cd5e.tar.gz
drakx-backup-do-not-use-477f9e81cb3aa78829210942e8185e8146c6cd5e.tar.bz2
drakx-backup-do-not-use-477f9e81cb3aa78829210942e8185e8146c6cd5e.tar.xz
drakx-backup-do-not-use-477f9e81cb3aa78829210942e8185e8146c6cd5e.zip
no_comment
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index e1acec491..2c79b6b09 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -388,7 +388,7 @@ sub autoDefaultDepth($$) {
sub autoDefaultResolution(;$) {
my $size = round(shift || 14); #- assume a small monitor (size is in inch)
$monitorSize2resolution[$size] ||
- $monitorSize2resolution[$#monitorSize2resolution]; #- no corresponding resolution for this size. It means a big monitor, take biggest we have
+ $monitorSize2resolution[-1]; #- no corresponding resolution for this size. It means a big monitor, take biggest we have
}
sub chooseResolutionsGtk($$;$) {