diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-02-22 06:05:06 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2020-02-22 06:05:06 +0000 |
commit | 8ab85c695504819695b18486b80383412d4e9177 (patch) | |
tree | b9a28368c23c8a74c292c15bbeac9e3b58b543fc /Build/source/texk/upmendex/convert.c | |
parent | a75579c3ef6a1e8ec7ed44e051c11a2c2f86e9c2 (diff) |
upmendex v0.54
git-svn-id: svn://tug.org/texlive/trunk@53866 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/upmendex/convert.c')
-rw-r--r-- | Build/source/texk/upmendex/convert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/upmendex/convert.c b/Build/source/texk/upmendex/convert.c index 72e7cb5b783..d02b05bf4d4 100644 --- a/Build/source/texk/upmendex/convert.c +++ b/Build/source/texk/upmendex/convert.c @@ -217,7 +217,8 @@ int convert(UChar *buff1, UChar *buff2) ||is_jpn_kana(buff3)||is_kor_hngl(buff3)||is_zhuyin(buff3) ||is_comb_diacritical_mark(buff3)) { buff2[j]=buff3[0]; - i++; + if (wclen==2) buff2[j+1]=buff3[1]; + i+=wclen; j+=wclen; } |