diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-22 15:21:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-22 15:21:09 +0000 |
commit | 9dc4051d8c6903f8c944e6427d80ce34ac0049f6 (patch) | |
tree | 22706f6e050f096f24ad675993c6cc4eab3d31c3 /perl-install/Xconfig/resolution_and_depth.pm | |
parent | 82fa84d18ccf844c04ad76e79c4235b9a1325d10 (diff) | |
download | drakx-9dc4051d8c6903f8c944e6427d80ce34ac0049f6.tar drakx-9dc4051d8c6903f8c944e6427d80ce34ac0049f6.tar.gz drakx-9dc4051d8c6903f8c944e6427d80ce34ac0049f6.tar.bz2 drakx-9dc4051d8c6903f8c944e6427d80ce34ac0049f6.tar.xz drakx-9dc4051d8c6903f8c944e6427d80ce34ac0049f6.zip |
perl_checker fix
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r-- | perl-install/Xconfig/resolution_and_depth.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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$/) { [ |