bitvec: Fix decoding of H / L values
authorAndreas.Eversberg <jolly@eversberg.eu>
Sun, 24 Oct 2010 09:59:33 +0000 (11:59 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Sun, 24 Oct 2010 09:59:33 +0000 (11:59 +0200)
commitdc0ebdfbdf3b1a381754c6ef4a59b0354eba7705
treec6cc91d2b4ced96c2b756345aa508c01395a760c
parentacffb60c1af6a30a99c969483ab46920d2fd966f
bitvec: Fix decoding of H / L values

it returns if a given bit in the vector is "high" or "low".
the bitval that represents "high" depends on the bit position.
bitval2mask returns that. so we must check if the bit in the vector
equals the returned bitval.
src/bitvec.c