Mercurial > emacs
changeset 24716:ceeb1f1d1a88
(boyer_moore): Get charset base value of `untranslated'
by masking by ~CHAR_FIELD3_MASK (instead of ~0xff).
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 11 May 1999 01:34:28 +0000 |
parents | 384b7e895346 |
children | ea66a10b8c12 |
files | src/search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Mon May 10 18:45:52 1999 +0000 +++ b/src/search.c Tue May 11 01:34:28 1999 +0000 @@ -1623,7 +1623,7 @@ while (! CHAR_HEAD_P (*charstart)) charstart--; untranslated = STRING_CHAR (charstart, ptr - charstart + 1); - if (charset_base == (untranslated & ~0xff)) + if (charset_base == (untranslated & ~CHAR_FIELD3_MASK)) { TRANSLATE (ch, trt, untranslated); if (! CHAR_HEAD_P (*ptr))