aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2005-10-21 00:42:13 +0000
committerKenichi Handa2005-10-21 00:42:13 +0000
commit86dc6ccb9290c8f52b3bda7e27f7a326e932a159 (patch)
tree195752022c9b72c71cb2d6ee52ef2a3e939c9578 /src
parente636ae153161454d8dee064bd5b07be011e4ec62 (diff)
downloademacs-86dc6ccb9290c8f52b3bda7e27f7a326e932a159.tar.gz
emacs-86dc6ccb9290c8f52b3bda7e27f7a326e932a159.zip
(boyer_moore): Surround the '||' part of expression in
`if' condition by parentheses explicitly.
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
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,
1709 if (ASCII_BYTE_P (*ptr) || ! multibyte) 1709 if (ASCII_BYTE_P (*ptr) || ! multibyte)
1710 ch = *ptr; 1710 ch = *ptr;
1711 else if (charset_base 1711 else if (charset_base
1712 && (pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1])) 1712 && ((pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1])))
1713 { 1713 {
1714 unsigned char *charstart = ptr - 1; 1714 unsigned char *charstart = ptr - 1;
1715 1715