Correct the definition of SETBIT.

The semantics were first changed in aef60929 (technically broken
in that commit as well).  Luckily, it seems not to be used much.
This commit is contained in:
John Boyle 2017-06-08 08:55:22 -07:00
parent 2ae280befb
commit 91257e71f5

2
misc.c
View file

@ -606,7 +606,7 @@ long ATDWRF(long where)
long SETBIT(long bit)
/* Returns 2**bit for use in constructing bit-masks. */
{
return(2 << bit);
return(1 << bit);
}
bool TSTBIT(long mask, int bit)