Merge pull request #29 from mjbshaw/patch-1
Fix documentation regarding cell_bitmap indexing
This commit is contained in:
commit
26a182814d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ struct quirc_code {
|
||||||
* is a bitmask giving the actual values of cells. If the cell
|
* is a bitmask giving the actual values of cells. If the cell
|
||||||
* at (x, y) is black, then the following bit is set:
|
* at (x, y) is black, then the following bit is set:
|
||||||
*
|
*
|
||||||
* cell_bitmap[i << 3] & (1 << (i & 7))
|
* cell_bitmap[i >> 3] & (1 << (i & 7))
|
||||||
*
|
*
|
||||||
* where i = (y * size) + x.
|
* where i = (y * size) + x.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue