Fix separator pattern for composite GS1-128

This commit is contained in:
hooper114 2009-07-08 09:12:41 +00:00
parent 3b12f14bad
commit bae63db6b4

View File

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