From: Kenichi Handa Date: Fri, 21 Oct 2005 00:42:13 +0000 (+0000) Subject: (boyer_moore): Surround the '||' part of expression in X-Git-Tag: emacs-pretest-22.0.90~6451 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86dc6ccb9290c8f52b3bda7e27f7a326e932a159;p=emacs.git (boyer_moore): Surround the '||' part of expression in `if' condition by parentheses explicitly. --- diff --git a/src/search.c b/src/search.c index ae36755a684..d3a5bd838a9 100644 --- a/src/search.c +++ b/src/search.c @@ -1709,7 +1709,7 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt, if (ASCII_BYTE_P (*ptr) || ! multibyte) ch = *ptr; else if (charset_base - && (pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1])) + && ((pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1]))) { unsigned char *charstart = ptr - 1;