From 9dc4051d8c6903f8c944e6427d80ce34ac0049f6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 22 Mar 2005 15:21:09 +0000 Subject: perl_checker fix --- perl-install/Xconfig/resolution_and_depth.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm index f41a722f1..465fb6221 100644 --- a/perl-install/Xconfig/resolution_and_depth.pm +++ b/perl-install/Xconfig/resolution_and_depth.pm @@ -235,8 +235,8 @@ sub set_default_background { my $ratio = $resolution->{X} / $resolution->{Y}; my $dir = "$::prefix/usr/share/mdk/backgrounds"; my @l = - sort { - $a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[1] <=> $b->[1] + sort { + $a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[1] <=> $b->[1]; } map { if (my ($X, $Y) = /^Mandrakelinux-(\d+)x(\d+).png$/) { [ -- cgit v1.2.1