From f51995fa922a78a20a2418556c4c99851a67560c Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 11 Feb 2008 05:25:24 +0000 Subject: [PATCH] (boyer_moore): Fix incorrect synching of the trunk and emacs-unicode-2. --- src/search.c | 4 ++-- 1 file 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; -- 2.39.5