summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-23 12:41:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-23 12:41:07 +0000
commit4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c (patch)
treed2718715735d76773fa1b838abe97c3c1d4f231a
parentd24c9ce8bf5ec0adb5c91f9804cca3bba46ac248 (diff)
downloaddrakx-4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c.tar
drakx-4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c.tar.gz
drakx-4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c.tar.bz2
drakx-4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c.tar.xz
drakx-4009536b6c5bbcacf855eaaaa75a52f8f82a6f3c.zip
fix sort
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index e8a4e5a89..2faebe5b6 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -235,7 +235,7 @@ sub set_default_background {
my %theme = getVarsFromSh('/etc/sysconfig/bootsplash');
my @l =
sort {
- $a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[1] <=> $b->[1];
+ $a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[3] <=> $b->[3];
} map {
if (my ($X, $Y) = /^$theme{THEME}-(\d+)x(\d+).png$/) {
[