mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix format info grid initialization typo
Fixes #108 reported by Daniel Gredler
This commit is contained in:
parent
b3c03b4769
commit
0738c3fa2f
@ -644,7 +644,7 @@ static void setup_grid(unsigned char* grid,const int size,const int version) {
|
|||||||
grid[(8 * size) + (size - 1 - i)] = 0x20;
|
grid[(8 * size) + (size - 1 - i)] = 0x20;
|
||||||
grid[((size - 1 - i) * size) + 8] = 0x20;
|
grid[((size - 1 - i) * size) + 8] = 0x20;
|
||||||
}
|
}
|
||||||
grid[(8 * size) + 8] += 20;
|
grid[(8 * size) + 8] += 0x20;
|
||||||
grid[((size - 1 - 7) * size) + 8] = 0x21; /* Dark Module from Figure 25 */
|
grid[((size - 1 - 7) * size) + 8] = 0x21; /* Dark Module from Figure 25 */
|
||||||
|
|
||||||
/* Reserve space for version information */
|
/* Reserve space for version information */
|
||||||
|
Loading…
Reference in New Issue
Block a user