changeset 74276:ed5899bf4f45

(regex_compile): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Tue, 28 Nov 2006 01:12:50 +0000
parents 7b6663d9bca0
children 6a6741f593f5
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:10:42 2006 +0000
+++ b/src/regex.c	Tue Nov 28 01:12:50 2006 +0000
@@ -2939,7 +2939,7 @@
                         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);
 			  }