mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Fix separator pattern for composite GS1-128
This commit is contained in:
parent
3b12f14bad
commit
bae63db6b4
@ -871,7 +871,7 @@ int ean_128(struct zint_symbol *symbol, unsigned char source[])
|
|||||||
/* Add the separator pattern for composite symbols */
|
/* Add the separator pattern for composite symbols */
|
||||||
if(symbol->symbology == BARCODE_EAN128_CC) {
|
if(symbol->symbology == BARCODE_EAN128_CC) {
|
||||||
for(i = 0; i < symbol->width; i++) {
|
for(i = 0; i < symbol->width; i++) {
|
||||||
if(module_is_set(symbol, separator_row + 1, i)) {
|
if(!(module_is_set(symbol, separator_row + 1, i))) {
|
||||||
set_module(symbol, separator_row, i);
|
set_module(symbol, separator_row, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user