summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-02-11 05:25:24 +0000
committerKenichi Handa <handa@m17n.org>2008-02-11 05:25:24 +0000
commit943090c65c9648506c9e8ecebb3065abbf59f77e (patch)
tree77664e53324b505f8c948f1f99ee16c70f7a8322
parentf64f87176cbde9bca558241bc95e04e8a813440f (diff)
downloademacs-943090c65c9648506c9e8ecebb3065abbf59f77e.tar.gz
(boyer_moore): Fix incorrect synching of the trunk and
emacs-unicode-2.
-rw-r--r--src/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 9c195300823..56bf47571e1 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1785,7 +1785,7 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt,
ch = -1;
}
- if (ch >= 0400)
+ if (ch >= 0200)
j = (ch & 0x3F) | 0200;
else
j = *ptr;
@@ -1804,7 +1804,7 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt,
while (1)
{
TRANSLATE (ch, inverse_trt, ch);
- if (ch >= 0400)
+ if (ch >= 0200)
j = (ch & 0x3F) | 0200;
else
j = ch;