aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-10-15 01:19:20 +0000
committerKenichi Handa2002-10-15 01:19:20 +0000
commit071ce769efe296053515993d5146d45788f02ac3 (patch)
tree180f6b4cf31d31fc36b7badd9c34f0d37a3c4197 /src
parentc3d1e503343a45e64b5f2926136a11775b308fbd (diff)
downloademacs-071ce769efe296053515993d5146d45788f02ac3.tar.gz
emacs-071ce769efe296053515993d5146d45788f02ac3.zip
(Freplace_match): Check C by ASCII_CHAR_P, not by
SINGLE_BYTE_CHAR_P.
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 7b87a9b996a..2980712213f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2439,7 +2439,7 @@ since only regular expressions have distinguished subexpressions. */)
2439 { 2439 {
2440 FETCH_STRING_CHAR_ADVANCE_NO_CHECK (c, newtext, 2440 FETCH_STRING_CHAR_ADVANCE_NO_CHECK (c, newtext,
2441 pos, pos_byte); 2441 pos, pos_byte);
2442 if (!buf_multibyte && !SINGLE_BYTE_CHAR_P (c)) 2442 if (!buf_multibyte && !ASCII_CHAR_P (c))
2443 c = multibyte_char_to_unibyte (c, rev_tbl); 2443 c = multibyte_char_to_unibyte (c, rev_tbl);
2444 } 2444 }
2445 else 2445 else