* some small fixes for passing 'make cc10' and 'make line35'

This commit is contained in:
djcb
2012-04-30 17:32:34 +03:00
parent ecee4831ef
commit e2a0fc31cf
5 changed files with 35 additions and 44 deletions

View File

@ -459,9 +459,7 @@ mu_str_xapian_escape_in_place (char *term, gboolean esc_space)
break;
default:
/* escape all other special stuff */
if (*cur < '0' || (*cur > '9' && *cur < 'A')
|| (*cur > 'Z' && *cur < 'a') ||
(*cur > 'z' && *cur < 0x80))
if (*cur < 0x80 && !isalnum (*cur))
*cur = escchar;
}
}