From 47e20ea44e8621361b5dc86db382fb1bd729d5bc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 15 Oct 2002 01:18:45 +0000 Subject: [PATCH] (copy_text): Check C by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P. --- src/insdel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insdel.c b/src/insdel.c index f782a88320d..7bae3020d3a 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -674,7 +674,7 @@ copy_text (from_addr, to_addr, nbytes, { 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; -- 2.39.2