]> git.eshelyaron.com Git - emacs.git/commitdiff
(regex_compile): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Tue, 28 Nov 2006 01:13:26 +0000 (01:13 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 28 Nov 2006 01:13:26 +0000 (01:13 +0000)
src/regex.c

index 7967a481ae9917d8f83fff144449bc2a308dd012..0e15c5eaf441d9d91d3d53d48e0858162c970651 100644 (file)
@@ -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);
                          }