Mercurial > emacs
changeset 89211:6fc3dc5bec6c
(copy_text): Check C by ASCII_CHAR_P, not by
SINGLE_BYTE_CHAR_P.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 15 Oct 2002 01:18:45 +0000 |
parents | 3a63b581b033 |
children | c5637be14c7f |
files | src/insdel.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insdel.c Tue Oct 15 01:18:25 2002 +0000 +++ b/src/insdel.c Tue Oct 15 01:18:45 2002 +0000 @@ -674,7 +674,7 @@ { int thislen, c; c = STRING_CHAR_AND_LENGTH (from_addr, bytes_left, thislen); - if (!SINGLE_BYTE_CHAR_P (c)) + if (!ASCII_CHAR_P (c)) c = multibyte_char_to_unibyte (c, tbl); *to_addr++ = c; from_addr += thislen;