Normalize romanized identifiers to Hepburn
This commit is contained in:
parent
7935e5e7ea
commit
787febbd07
72 changed files with 871 additions and 871 deletions
4
knjcvt.c
4
knjcvt.c
|
|
@ -115,7 +115,7 @@ make_divlist(DivList* parent, unsigned char* knj, int len) {
|
|||
if(j <= 2 || !(num = isknjexist(knj, j))) continue;
|
||||
|
||||
tmprec.len = 2;
|
||||
tmprec.code[0] = (OffsetAssyuku | ((num >> 8) & 0xff));
|
||||
tmprec.code[0] = (OffsetAsshuku | ((num >> 8) & 0xff));
|
||||
tmprec.code[1] = (num & 0xff);
|
||||
tmprec.child = NULL;
|
||||
tmplen = make_divlist(&tmprec, knj + j, len - j) + 2;
|
||||
|
|
@ -137,7 +137,7 @@ make_divlist(DivList* parent, unsigned char* knj, int len) {
|
|||
if(string_cmp(askknj[i]->kptr, j, knj, j)) continue;
|
||||
|
||||
tmprec.len = 1;
|
||||
tmprec.code[0] = (KanjiAssyuku | i);
|
||||
tmprec.code[0] = (KanjiAsshuku | i);
|
||||
tmprec.child = NULL;
|
||||
tmplen = make_divlist(&tmprec, knj + j, len - j) + 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue