mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-19 12:20:17 -08:00
Fix ccl encoding of unibyte source.
This commit is contained in:
commit
4d1e6632e7
35 changed files with 439 additions and 224 deletions
|
|
@ -7417,7 +7417,8 @@ consume_chars (coding, translation_table, max_lookup)
|
|||
{
|
||||
EMACS_INT bytes;
|
||||
|
||||
if (coding->encoder == encode_coding_raw_text)
|
||||
if (coding->encoder == encode_coding_raw_text
|
||||
|| coding->encoder == encode_coding_ccl)
|
||||
c = *src++, pos++;
|
||||
else if ((bytes = MULTIBYTE_LENGTH (src, src_end)) > 0)
|
||||
c = STRING_CHAR_ADVANCE_NO_UNIFY (src), pos += bytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue