diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-12-28 13:57:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-12-28 13:57:15 +0000 |
commit | 91a658560a73a5fd34df1fa797cbf0d7eebd680c (patch) | |
tree | 9461ae4ec89b7e9d2a27fbe86dedb2d2c2aec0de | |
parent | 84455d1f17e5c07d44218b7601b5a3d70511a493 (diff) | |
download | drakx-backup-do-not-use-91a658560a73a5fd34df1fa797cbf0d7eebd680c.tar drakx-backup-do-not-use-91a658560a73a5fd34df1fa797cbf0d7eebd680c.tar.gz drakx-backup-do-not-use-91a658560a73a5fd34df1fa797cbf0d7eebd680c.tar.bz2 drakx-backup-do-not-use-91a658560a73a5fd34df1fa797cbf0d7eebd680c.tar.xz drakx-backup-do-not-use-91a658560a73a5fd34df1fa797cbf0d7eebd680c.zip |
(backport) restore behaviour broken in commit 1.371 (nb: {lang} is not always set in {langs} at that time)
-rw-r--r-- | perl-install/lang.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index e1ee01313..d1cde6002 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; } |