comparison src/xterm.c @ 47699:a8e563d6dbb3

(x_encode_char): For DIM=1 charset, set ccl->reg[2] to -1 before calling ccl_driver.
author Kenichi Handa <handa@m17n.org>
date Mon, 30 Sep 2002 06:31:51 +0000
parents 264271f9ab24
children 8d54d470f30d
comparison
equal deleted inserted replaced
47698:77511decc5ff 47699:a8e563d6dbb3
1258 1258
1259 if (CHARSET_DIMENSION (charset) == 1) 1259 if (CHARSET_DIMENSION (charset) == 1)
1260 { 1260 {
1261 ccl->reg[0] = charset; 1261 ccl->reg[0] = charset;
1262 ccl->reg[1] = char2b->byte2; 1262 ccl->reg[1] = char2b->byte2;
1263 ccl->reg[2] = -1;
1263 } 1264 }
1264 else 1265 else
1265 { 1266 {
1266 ccl->reg[0] = charset; 1267 ccl->reg[0] = charset;
1267 ccl->reg[1] = char2b->byte1; 1268 ccl->reg[1] = char2b->byte1;