Commit 86dc6ccb authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(boyer_moore): Surround the '||' part of expression in

`if' condition by parentheses explicitly.
parent e636ae15
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment