summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-04-21 15:25:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-04-21 15:25:29 +0000
commitb6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab (patch)
tree552c5c64693a3b846fe63ff00fe767a355b60462 /perl-install/Xconfig/resolution_and_depth.pm
parenta2c392a9ab83bb9031fb11f99f0101f1f2d9f140 (diff)
downloaddrakx-b6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab.tar
drakx-b6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab.tar.gz
drakx-b6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab.tar.bz2
drakx-b6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab.tar.xz
drakx-b6e6dfe3bb5ca1480b60d1bd6710dbf2298d00ab.zip
switch from MandrakeSoft to Mandriva
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-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 21289bd39..7179186ec 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -238,7 +238,7 @@ sub set_default_background {
sort {
$a->[1] <=> $b->[1] || $b->[2] <=> $a->[2] || $a->[1] <=> $b->[1];
} map {
- if (my ($X, $Y) = /^Mandrakelinux-(\d+)x(\d+).png$/) {
+ if (my ($X, $Y) = /^Mandrivalinux-(\d+)x(\d+).png$/) {
[
$_,
int(abs($ratio - $X / $Y) * 100), #- we want the nearest ratio (precision .01)