From 071ce769efe296053515993d5146d45788f02ac3 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 15 Oct 2002 01:19:20 +0000 Subject: [PATCH] (Freplace_match): Check C by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P. --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */) { FETCH_STRING_CHAR_ADVANCE_NO_CHECK (c, newtext, pos, pos_byte); - if (!buf_multibyte && !SINGLE_BYTE_CHAR_P (c)) + if (!buf_multibyte && !ASCII_CHAR_P (c)) c = multibyte_char_to_unibyte (c, rev_tbl); } else -- 2.39.2