diff options
| author | Kenichi Handa | 2002-10-15 01:18:45 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-10-15 01:18:45 +0000 |
| commit | 47e20ea44e8621361b5dc86db382fb1bd729d5bc (patch) | |
| tree | e9c009c92ffd4d617f625e6ffdb91b74d7b03169 /src | |
| parent | 5d516ca2943d4eca9ca19788f6ce520b029b9811 (diff) | |
| download | emacs-47e20ea44e8621361b5dc86db382fb1bd729d5bc.tar.gz emacs-47e20ea44e8621361b5dc86db382fb1bd729d5bc.zip | |
(copy_text): Check C by ASCII_CHAR_P, not by
SINGLE_BYTE_CHAR_P.
Diffstat (limited to 'src')
| -rw-r--r-- | src/insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 674 | { | 674 | { |
| 675 | int thislen, c; | 675 | int thislen, c; |
| 676 | c = STRING_CHAR_AND_LENGTH (from_addr, bytes_left, thislen); | 676 | c = STRING_CHAR_AND_LENGTH (from_addr, bytes_left, thislen); |
| 677 | if (!SINGLE_BYTE_CHAR_P (c)) | 677 | if (!ASCII_CHAR_P (c)) |
| 678 | c = multibyte_char_to_unibyte (c, tbl); | 678 | c = multibyte_char_to_unibyte (c, tbl); |
| 679 | *to_addr++ = c; | 679 | *to_addr++ = c; |
| 680 | from_addr += thislen; | 680 | from_addr += thislen; |