mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-18 10:27:09 +00:00
Converted zint_symbol structure usage to a more compressed format
This commit is contained in:
@@ -864,8 +864,8 @@ int ean_128(struct zint_symbol *symbol, unsigned char source[])
|
||||
/* Add the separator pattern for composite symbols */
|
||||
if(symbol->symbology == BARCODE_EAN128_CC) {
|
||||
for(i = 0; i < symbol->width; i++) {
|
||||
if(symbol->encoded_data[separator_row + 1][i] != '1') {
|
||||
symbol->encoded_data[separator_row][i] = '1';
|
||||
if(module_is_set(symbol, separator_row + 1, i)) {
|
||||
set_module(symbol, separator_row, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user