summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-07 08:13:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-07 08:13:56 +0000
commitb74a1f4ef53cbade8c642c73ef034955969a7f7a (patch)
treec7a622e7e7d80017d8dd19bf7f8bfd204ce31157
parentc1040edbdd7c0b24946765ab57b76cab0ef1c13a (diff)
downloaddrakx-b74a1f4ef53cbade8c642c73ef034955969a7f7a.tar
drakx-b74a1f4ef53cbade8c642c73ef034955969a7f7a.tar.gz
drakx-b74a1f4ef53cbade8c642c73ef034955969a7f7a.tar.bz2
drakx-b74a1f4ef53cbade8c642c73ef034955969a7f7a.tar.xz
drakx-b74a1f4ef53cbade8c642c73ef034955969a7f7a.zip
simplify (sort should not be used together with separator, since tree is
always sorted. text-mode flat list is also sorted by default)
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 2d29ea66a..d59886d6a 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -967,7 +967,7 @@ when your installation is complete and you restart your system.")),
{ val => \$lang, separator => '|',
if_($using_images, image2f => sub { $name2l{$_[0]} =~ /^[a-z]/ && "langs/lang-$name2l{$_[0]}" }),
format => sub { $_[0] =~ /(.*\|)(.*)/ ? $1 . lang::l2name($2) : lang::l2name($_[0]) },
- list => \@langs, sort => 1, changed => sub {
+ list => \@langs, changed => sub {
#- very special cases for langs which do not like UTF-8
$non_utf8 = $lang =~ /\bzh/ if !$utf8_forced;
}, focus_out => sub { $langs->{$listval2val->($lang)} = 1 } },