mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-20 18:25:12 -04:00
Fix format info grid initialization typo
Fixes #108 reported by Daniel Gredler
This commit is contained in:
parent
b3c03b4769
commit
0738c3fa2f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue