summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-12-13 12:54:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-12-13 12:54:32 +0000
commit83fe4244faa9c06a3888645a0fc21df97f96f1c1 (patch)
tree698b1028422736448158e0e21848c5f59363ee33 /perl-install/lang.pm
parentbdfdf944a7e677b3dda89c5a062130d1a5d3bb82 (diff)
downloaddrakx-backup-do-not-use-83fe4244faa9c06a3888645a0fc21df97f96f1c1.tar
drakx-backup-do-not-use-83fe4244faa9c06a3888645a0fc21df97f96f1c1.tar.gz
drakx-backup-do-not-use-83fe4244faa9c06a3888645a0fc21df97f96f1c1.tar.bz2
drakx-backup-do-not-use-83fe4244faa9c06a3888645a0fc21df97f96f1c1.tar.xz
drakx-backup-do-not-use-83fe4244faa9c06a3888645a0fc21df97f96f1c1.zip
restore behaviour broken in commit 1.371 (nb: {lang} is not always set in {langs} at that time)
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 6638fb4f7..fa7090213 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -956,7 +956,7 @@ sub langsLANGUAGE {
sub utf8_should_be_needed {
my ($locale) = @_;
- my @l = uniq(grep { $_ ne 'C' } map { l2charset($_) } langs($locale->{langs}));
+ my @l = uniq(grep { $_ ne 'C' } map { l2charset($_) } $locale->{lang}, langs($locale->{langs}));
@l > 1 || any { /utf|unicode/ } @l;
}