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

@@ -215,7 +215,7 @@ isupperrune(Rune r)
{
Rune *match;
if(match = bsearch(&r, upper3, nelem(upper3), sizeof *upper3, &rune2cmp))
if((match = bsearch(&r, upper3, nelem(upper3), sizeof *upper3, &rune2cmp)))
return !((r - match[0]) % 2);
if(bsearch(&r, upper2, nelem(upper2), sizeof *upper2, &rune2cmp))
return 1;