mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-20 03:17:12 +00:00
Converted zint_symbol structure usage to a more compressed format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user