Small cleanup to previous commit.

Just use % 8, instead of & 0x7. This makes it easier to understand.
This commit is contained in:
Ed Schouten 2009-03-20 14:32:51 +00:00
parent 3e1720f5e0
commit d50321fd3a

View file

@ -38,7 +38,7 @@ teken_tab_isset(teken_t *t, unsigned int col)
unsigned int b, o;
if (col >= T_NUMCOL)
return ((col & 0x7) == 0);
return ((col % 8) == 0);
b = col / (sizeof(unsigned int) * 8);
o = col % (sizeof(unsigned int) * 8);