Mercurial > emacs
diff src/search.c @ 69882:1133b1df91d7
(boyer_moore): Test ch >= 0400, not >.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 09 Apr 2006 01:59:45 +0000 |
| parents | de924a86ee65 |
| children | 7510757f449b c156f6a9e7b5 |
line wrap: on
line diff
--- a/src/search.c Sat Apr 08 23:42:25 2006 +0000 +++ b/src/search.c Sun Apr 09 01:59:45 2006 +0000 @@ -1720,7 +1720,7 @@ ch = -1; } - if (ch > 0400) + if (ch >= 0400) j = ((unsigned char) ch) | 0200; else j = *ptr; @@ -1739,7 +1739,7 @@ while (1) { TRANSLATE (ch, inverse_trt, ch); - if (ch > 0400) + if (ch >= 0400) j = ((unsigned char) ch) | 0200; else j = (unsigned char) ch;
