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

@@ -290,7 +290,7 @@ islowerrune(Rune r)
{
Rune *match;
if(match = bsearch(&r, lower4, nelem(lower4), sizeof *lower4, &rune2cmp))
if((match = bsearch(&r, lower4, nelem(lower4), sizeof *lower4, &rune2cmp)))
return !((r - match[0]) % 2);
if(bsearch(&r, lower2, nelem(lower2), sizeof *lower2, &rune2cmp))
return 1;