(compile_pattern_1): Don't adjust the multibyteness of
commit93daa011b35d0397b4503eff0d7d80e1b50a9bed
authorKenichi Handa <handa@m17n.org>
Tue, 3 Sep 2002 04:09:59 +0000 (3 04:09 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 3 Sep 2002 04:09:59 +0000 (3 04:09 +0000)
tree5683a484834a16ead0fe3396235630210136b0e7
parentbf2164799abc98b4aaafd9340ed77cdf2aa18370
(compile_pattern_1): Don't adjust the multibyteness of
the regexp pattern and the matching target.  Set cp->buf.multibyte
to the multibyteness of the regexp pattern.  Set
cp->but.target_multibyte to the multibyteness of the matching
target.
(wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of
FETCH_STRING_CHAR_ADVANCE.
(Freplace_match): Convert unibyte chars to multibyte.
src/search.c