Converted zint_symbol structure usage to a more compressed format

This commit is contained in:
hooper114 2009-05-31 20:33:54 +00:00
parent 90d301a6dc
commit cb0e4e27e8
29 changed files with 447 additions and 341 deletions

View file

@ -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;
}