Mercurial > emacs
changeset 74277:6a6741f593f5
(regex_compile): Fix previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 28 Nov 2006 01:13:26 +0000 |
parents | ed5899bf4f45 |
children | f4da74a146c7 |
files | src/regex.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/regex.c Tue Nov 28 01:12:50 2006 +0000 +++ b/src/regex.c Tue Nov 28 01:13:26 2006 +0000 @@ -2939,7 +2939,7 @@ for (ch = 0; ch < 1 << BYTEWIDTH; ++ch) { int translated = TRANSLATE (ch); - if (translated < 1 << BYTEWIDTH + if (translated < (1 << BYTEWIDTH) && re_iswctype (btowc (ch), cc)) SET_LIST_BIT (translated); }