Fix warnings and update isalpharune()

This commit is contained in:
FRIGN
2015-02-12 17:08:02 +01:00
parent 4f6d696894
commit ab9b240dc6
7 changed files with 172 additions and 64 deletions

View File

@@ -23,12 +23,9 @@ static Rune space1[] = {
int
isspacerune(Rune r)
{
Rune *match;
if(bsearch(&r, space2, nelem(space2), sizeof *space2, &rune2cmp))
return 1;
if(bsearch(&r, space1, nelem(space1), sizeof *space1, &rune1cmp))
return 1;
return 0;
}