# HG changeset patch # User Kenichi Handa # Date 886591408 0 # Node ID f9fafa0336aff805730c48d247c5a2ad3ba75498 # Parent 95a80c1e06c397b6a0902ed1135d0646750e8fba (copy_text): When copying from multibyte to unibyte, do not alter ASCII characters. diff -r 95a80c1e06c3 -r f9fafa0336af src/insdel.c --- 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++;