mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-22 11:15:16 -04:00
Converted zint_symbol structure usage to a more compressed format
This commit is contained in:
parent
90d301a6dc
commit
cb0e4e27e8
29 changed files with 447 additions and 341 deletions
|
@ -940,7 +940,7 @@ int microqr(struct zint_symbol *symbol, unsigned char source[])
|
|||
/* Copy data into symbol */
|
||||
for(i = 0; i < width; i++) {
|
||||
for(j = 0; j < width; j++) {
|
||||
symbol->encoded_data[i][j] = candidate[i][j];
|
||||
if(candidate[i][j] == '1') { set_module(symbol, i, j); }
|
||||
}
|
||||
symbol->row_height[i] = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue