(CCL_WRITE_CHAR): Increment extra_bytes only when
commit8d99a0b354137e307fc729ec31cd65088e324adf
authorKenichi Handa <handa@m17n.org>
Thu, 31 Jan 2008 11:27:46 +0000 (31 11:27 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 31 Jan 2008 11:27:46 +0000 (31 11:27 +0000)
treefa5d5cea5b0412a6e75e3553972c7d98bb238829
parent08cf830bbd55a241619a6d0a4b53ad44c8d187c6
(CCL_WRITE_CHAR): Increment extra_bytes only when
ccl->eight_bit_control.  Fix check for buffer overflow.
(CCL_WRITE_MULTIBYTE_CHAR): Fix check for buffer overflow.
(ccl_driver): Initialize extra_bytes to 0.
src/ccl.c