aboutsummaryrefslogtreecommitdiff
path: root/japanese/FreeWnn-lib/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/FreeWnn-lib/files/patch-ad')
-rw-r--r--japanese/FreeWnn-lib/files/patch-ad40
1 files changed, 0 insertions, 40 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ad b/japanese/FreeWnn-lib/files/patch-ad
deleted file mode 100644
index 0cbf0efb0822..000000000000
--- a/japanese/FreeWnn-lib/files/patch-ad
+++ /dev/null
@@ -1,40 +0,0 @@
---- ./Wnn/jserver/b_index.c.orig Tue Jun 28 11:06:49 1994
-+++ ./Wnn/jserver/b_index.c Sat Jul 19 00:45:21 1997
-@@ -99,8 +99,8 @@
-
- /** For each tuple in ri1[0] create b_nodes */
- for (i=0; i<jt->maxri1[0]; i++){
-- serial = (jt->ri1[0]+i)->pter;
-- yomi = KANJI_str(jt->ri2[serial].kanjipter + jt->kanji, 0);
-+ serial = ntohs((jt->ri1[0]+i)->pter);
-+ yomi = KANJI_str(ntohs(jt->ri2[serial].kanjipter) + jt->kanji, 0);
- b_index_add(jt, yomi, serial);
- }
- return(b_cnt);
-@@ -133,7 +133,7 @@
- int serial;
- {
- w_char *yomi;
-- yomi = KANJI_str(jt->ri2[serial].kanjipter + jt->kanji, 0);
-+ yomi = KANJI_str(ntohs(jt->ri2[serial].kanjipter) + jt->kanji, 0);
- delete_b_node(jt, yomi, 0, 0 );
- }
-
-@@ -160,7 +160,7 @@
- tmp_node = jt->bind[tmp_node].pter_son;
- }
- yo_kanji = KANJI_str(
-- jt->ri2[jt->bind[tmp_node].pter].kanjipter+jt->kanji, 0);
-+ ntohs(jt->ri2[jt->bind[tmp_node].pter].kanjipter)+jt->kanji, 0);
- if ( yomi[level] > yo_kanji[level] ) {
- buf_node1 = buf_node2;
- buf_node2 = jt->bind[buf_node2].pter_next ;
-@@ -216,7 +216,7 @@
- tmp_node = jt->bind[tmp_node].pter_son;
- }
- yo_kanji = KANJI_str(
-- jt->ri2[jt->bind[tmp_node].pter].kanjipter+jt->kanji, 0);
-+ ntohs(jt->ri2[jt->bind[tmp_node].pter].kanjipter)+jt->kanji, 0);
-
- if ( yomi[level] > yo_kanji[level] ) {
- buf_node1 = buf_node2;