diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index 4ee55f7c8e6..03ce4828040 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -5199,7 +5199,7 @@ decode_coding_ccl (struct coding_system *coding) | |||
| 5199 | source_charbuf[i++] = *p++; | 5199 | source_charbuf[i++] = *p++; |
| 5200 | 5200 | ||
| 5201 | if (p == src_end && coding->mode & CODING_MODE_LAST_BLOCK) | 5201 | if (p == src_end && coding->mode & CODING_MODE_LAST_BLOCK) |
| 5202 | ccl->last_block = 1; | 5202 | ccl->last_block = true; |
| 5203 | /* As ccl_driver calls DECODE_CHAR, buffer may be relocated. */ | 5203 | /* As ccl_driver calls DECODE_CHAR, buffer may be relocated. */ |
| 5204 | charset_map_loaded = 0; | 5204 | charset_map_loaded = 0; |
| 5205 | ccl_driver (ccl, source_charbuf, charbuf, i, charbuf_end - charbuf, | 5205 | ccl_driver (ccl, source_charbuf, charbuf, i, charbuf_end - charbuf, |
| @@ -5259,7 +5259,7 @@ encode_coding_ccl (struct coding_system *coding) | |||
| 5259 | CODING_GET_INFO (coding, attrs, charset_list); | 5259 | CODING_GET_INFO (coding, attrs, charset_list); |
| 5260 | if (coding->consumed_char == coding->src_chars | 5260 | if (coding->consumed_char == coding->src_chars |
| 5261 | && coding->mode & CODING_MODE_LAST_BLOCK) | 5261 | && coding->mode & CODING_MODE_LAST_BLOCK) |
| 5262 | ccl->last_block = 1; | 5262 | ccl->last_block = true; |
| 5263 | 5263 | ||
| 5264 | do | 5264 | do |
| 5265 | { | 5265 | { |