Index: lib/ctext.c =================================================================== RCS file: /net/srapc451/mnt3/home/mgr/ishisone/lib/cvsroot/kinput2/src/lib/ctext.c,v retrieving revision 2.3 diff -c -r2.3 ctext.c *** ctext.c 1993/02/02 02:38:41 2.3 --- ctext.c 1998/11/24 08:35:18 *************** *** 110,123 **** while (c = *wstr++) { switch (c & 0x8080) { case 0: /* ASCII or C0 or DEL */ - if (c < ' ' || c == 0x7f) { - /* C0 or DEL */ - if (c == '\t' || c == '\n') { - if (xstr) *xstr++ = c; - n++; - } - break; - } if (g0 != g0cs) { if (xstr) { *xstr++ = '\033'; --- 110,115 ---- *************** *** 127,132 **** --- 119,132 ---- n += 3; g0 = g0cs; } + if (c < ' ' || c == 0x7f) { + /* C0 or DEL */ + if (c == '\t' || c == '\n') { + if (xstr) *xstr++ = c; + n++; + } + break; + } if (xstr) *xstr++ = c & 0x7f; n++; break; *************** *** 154,159 **** --- 154,160 ---- } n += 4; g1 = MBCS|'B'; + g0 = MBCS|'B'; /* !!! */ } if (xstr) { *xstr++ = (c >> 8) & 0xff; -- ishisone@sra.co.jp