diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-04-09 01:59:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-04-09 01:59:45 +0000 |
commit | 6786a1071ab8f468cc5919914ce98c2c3692213e (patch) | |
tree | 3c56aa2fa8544dbc7255405f0ce213e0737dd0b3 /src/search.c | |
parent | 1b155fbd766b0a0f78fca5de62dd16a3542883f1 (diff) | |
download | emacs-6786a1071ab8f468cc5919914ce98c2c3692213e.tar.gz |
(boyer_moore): Test ch >= 0400, not >.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |