diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c index b97ee7943fd..4b011634ae1 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -2992,7 +2992,8 @@ regex_compile (pattern, size, syntax, bufp) | |||
| 2992 | if (re_iswctype (btowc (ch), cc)) | 2992 | if (re_iswctype (btowc (ch), cc)) |
| 2993 | { | 2993 | { |
| 2994 | c = TRANSLATE (ch); | 2994 | c = TRANSLATE (ch); |
| 2995 | SET_LIST_BIT (c); | 2995 | if (c < (1 << BYTEWIDTH)) |
| 2996 | SET_LIST_BIT (c); | ||
| 2996 | } | 2997 | } |
| 2997 | 2998 | ||
| 2998 | if (target_multibyte) | 2999 | if (target_multibyte) |