diff options
author | Norbert Preining <preining@logic.at> | 2012-02-14 00:25:01 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2012-02-14 00:25:01 +0000 |
commit | 1259a46156cf0727fd23c01fc73cbaef5b2cd350 (patch) | |
tree | 17c56db103f96baa53f861bcccf062b16502c837 /Master | |
parent | 495d5ac01a9215bc391e36585ebab569edad245d (diff) |
fix area code detection for windows
git-svn-id: svn://tug.org/texlive/trunk@25390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/tlpkg/TeXLive/TLWinGoo.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLWinGoo.pm b/Master/tlpkg/TeXLive/TLWinGoo.pm index f49f8df771c..10ef2e9e0f3 100644 --- a/Master/tlpkg/TeXLive/TLWinGoo.pm +++ b/Master/tlpkg/TeXLive/TLWinGoo.pm @@ -273,7 +273,7 @@ sub reg_country { return ("zh", "cn"); } else { my $lang = lc(substr $lm, 0, 2); - my $area = lc(substr $lm, 4); + my $area = lc(substr $lm, 3, 2); return($lang, $area); } } |