From: Richard M. Stallman Date: Sun, 9 Apr 2006 01:59:45 +0000 (+0000) Subject: (boyer_moore): Test ch >= 0400, not >. X-Git-Tag: emacs-pretest-22.0.90~3261 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6786a1071ab8f468cc5919914ce98c2c3692213e;p=emacs.git (boyer_moore): Test ch >= 0400, not >. --- diff --git a/src/search.c b/src/search.c index b92812597d5..dfbf66fc7ed 100644 --- a/src/search.c +++ b/src/search.c @@ -1720,7 +1720,7 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt, ch = -1; } - if (ch > 0400) + if (ch >= 0400) j = ((unsigned char) ch) | 0200; else j = *ptr; @@ -1739,7 +1739,7 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt, while (1) { TRANSLATE (ch, inverse_trt, ch); - if (ch > 0400) + if (ch >= 0400) j = ((unsigned char) ch) | 0200; else j = (unsigned char) ch;