Mercurial > emacs
diff src/insdel.c @ 20835:f9fafa0336af
(copy_text): When copying from multibyte to unibyte, do
not alter ASCII characters.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 04 Feb 1998 11:23:28 +0000 |
parents | bd592c9c3ef6 |
children | 454423099620 |
line wrap: on
line diff
--- a/src/insdel.c Wed Feb 04 11:23:28 1998 +0000 +++ b/src/insdel.c Wed Feb 04 11:23:28 1998 +0000 @@ -574,7 +574,7 @@ { int thislen, c; c = STRING_CHAR_AND_LENGTH (from_addr, bytes_left, thislen); - *to_addr++ = (c & 0177) + 0200; + *to_addr++ = SINGLE_BYTE_CHAR_P (c) ? c : (c & 0177) + 0200; from_addr += thislen; bytes_left--; nchars++;