fixed incorrect badword { } causing a crash

This commit is contained in:
Bram Matthys 2005-03-14 16:09:30 +00:00
parent ca4bbb66eb
commit 4a69b08291

View file

@ -842,7 +842,7 @@ regex_t expr;
goto Ilovegotos;
for (tmp = s; *tmp; tmp++) {
if ((int)*tmp < 65 || (int)*tmp > 123) {
if (!isalnum(*tmp) && !(*tmp >= 128)) {
if ((s == tmp) && (*tmp == '*'))
continue;
if ((*(tmp + 1) == '\0') && (*tmp == '*'))