This commit is contained in:
Nishi 2026-07-02 13:31:52 +09:00
commit 04e65f3f5e
112 changed files with 8 additions and 115 deletions

View file

@ -27,7 +27,6 @@
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>

View file

@ -27,7 +27,6 @@
*
*/
#include <stdlib.h>
#include <string.h>

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <stdlib.h>
#include <sys/types.h>
#include "sj_rename.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_const.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_const.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_connect.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <string.h>
#include "sj_kcnv.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_hinsi.h"
#include "sj_right.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_const.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <stdio.h>
#include <sys/types.h>
#include "sj_rename.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_const.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_right.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <string.h>
#include "sj_kcnv.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_yomi.h"
#include "sj_suuji.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_hinsi.h"
#include "sj_right.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "Dict.h"
#include "sj4err.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_const.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_right.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_hinsi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_kcnv.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_dict.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_euc.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <string.h>
#include "sj_kcnv.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_const.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_yomi.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_kanakan.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_const.h"
#include "sj_rename.h"
#include "sj_typedef.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_right.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_rename.h"
#include "sj_typedef.h"
#include "sj_const.h"

View file

@ -27,7 +27,6 @@
*
*/
#include "sj_kcnv.h"
#include "sj_right.h"
#include "sj_hinsi.h"

View file

@ -16,7 +16,7 @@ struct sj4ime {
Sj4Kouho kouho;
unsigned int last;
u_char romabuf[SJ4BUFSZ];
u_char romabuf[7];
u_char kanabuf[SJ4BUFSZ];
u_char convbuf[SJ4BUFSZ];
};
@ -139,7 +139,7 @@ void sj4_ime_key(Sj4Ime* ime, int key) {
key = toupper(key);
if(ime->romabuf[strlen(ime->romabuf) - 1] == 'N' && !(key == 'A' || key == 'I' || key == 'U' || key == 'E' || key == 'O' || key == 'N')) {
if(ime->romabuf[strlen(ime->romabuf) - 1] == 'N' && !(key == 'A' || key == 'I' || key == 'U' || key == 'E' || key == 'O' || key == 'Y' || key == 'N')) {
ime->romabuf[strlen(ime->romabuf) + 1] = 0;
ime->romabuf[strlen(ime->romabuf)] = 'N';
}
@ -158,9 +158,9 @@ void sj4_ime_key(Sj4Ime* ime, int key) {
n = strlen(kanatbl[i].roma) - strlen(kanatbl[i].roma2);
memmove(ime->romabuf - (n < 0 ? n : 0), ime->romabuf + (n > 0 ? n : 0), SJ4BUFSZ - n);
memmove(ime->romabuf - (n < 0 ? n : 0), ime->romabuf + (n > 0 ? n : 0), sizeof(ime->romabuf) - n);
if(n > 0) {
for(j = SJ4BUFSZ - n; j < SJ4BUFSZ; j++) ime->romabuf[j] = 0;
for(j = sizeof(ime->romabuf) - n; j < sizeof(ime->romabuf); j++) ime->romabuf[j] = 0;
} else {
for(j = 0; j < -n; j++) ime->romabuf[j] = 0;
}
@ -172,6 +172,10 @@ void sj4_ime_key(Sj4Ime* ime, int key) {
goto reduce;
}
}
if(strlen(ime->romabuf) >= 4) {
ime->romabuf[0] = 0;
}
}
}

View file

@ -27,7 +27,6 @@
*
*/
#ifndef lint
static char rcsid[] = "$Header: /export/work/contrib/sj4/sj4rkcv/RCS/rk_conv.c,v 1.14 1994/06/03 07:42:16 notanaka Exp $";
#endif

View file

@ -27,7 +27,6 @@
*
*/
#include <stdlib.h>
#include <string.h>

View file

@ -27,7 +27,6 @@
*
*/
#include <stdio.h>
#include <locale.h>
#include "wchar16.h"