summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-09 09:41:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-09 09:41:34 +0000
commit49790b1e7e8fed6b7735c3f57813c932ea5e3317 (patch)
treefa2ac02e3410c70b8126dad7c3d210acbb2939d2 /perl-install/lang.pm
parent8da7f216a683fa46c77ffb55906cf1b88b0b57e4 (diff)
downloaddrakx-49790b1e7e8fed6b7735c3f57813c932ea5e3317.tar
drakx-49790b1e7e8fed6b7735c3f57813c932ea5e3317.tar.gz
drakx-49790b1e7e8fed6b7735c3f57813c932ea5e3317.tar.bz2
drakx-49790b1e7e8fed6b7735c3f57813c932ea5e3317.tar.xz
drakx-49790b1e7e8fed6b7735c3f57813c932ea5e3317.zip
fix thai IM that was broken for ages (but it was disabled in 10.0
anyway so ...)
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 74a933ce3..ce2d29709 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1017,7 +1017,7 @@ sub write {
}
- add2hash($h, $IM_locale_specific_config{$locale->{lang}});
+ add2hash($h, $IM_locale_specific_config{$h->{LANG}});
$h->{ENC} = $locale2encoding{$locale->{lang}};
$h->{ENC} = 'utf8' if member($locale->{lang}, qw(ja_JP.UTF-8 ko_KR.UTF-8 zh_CN.UTF-8 zh_HK.UTF-8 zh_SG.UTF-8 zh_TW.UTF-8));