HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e636ae1
)
(boyer_moore): Surround the '||' part of expression in
author
Kenichi Handa
<handa@m17n.org>
Fri, 21 Oct 2005 00:42:13 +0000
(
00:42
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 21 Oct 2005 00:42:13 +0000
(
00:42
+0000)
`if' condition by parentheses explicitly.
src/search.c
patch
|
blob
|
blame
|
history
diff --git
a/src/search.c
b/src/search.c
index
ae36755
..
d3a5bd8
100644
(file)
--- 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;