From: Kenichi Handa Date: Tue, 28 Nov 2006 01:13:26 +0000 (+0000) Subject: (regex_compile): Fix previous change. X-Git-Tag: emacs-pretest-22.0.92~430 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=151ccb74000f5dbf2663d88b204b1bdf8e3ebd56;p=emacs.git (regex_compile): Fix previous change. --- diff --git a/src/regex.c b/src/regex.c index 7967a481ae9..0e15c5eaf44 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2939,7 +2939,7 @@ regex_compile (pattern, size, syntax, bufp) for (ch = 0; ch < 1 << BYTEWIDTH; ++ch) { int translated = TRANSLATE (ch); - if (translate < 1 << BYTEWIDTH + if (translated < (1 << BYTEWIDTH) && re_iswctype (btowc (ch), cc)) SET_LIST_BIT (translated); }