composite: EANX/UPCA/UPCE_CC addongap (option_2) not being passed to linear

This commit is contained in:
gitlost 2020-08-05 00:14:11 +01:00
parent 04593ebc85
commit b440692ee3
3 changed files with 161 additions and 7 deletions

View file

@ -1521,6 +1521,7 @@ INTERNAL int composite(struct zint_symbol *symbol, unsigned char source[], int l
linear = ZBarcode_Create(); /* Symbol contains the 2D component and Linear contains the rest */
linear->symbology = symbol->symbology;
linear->option_2 = symbol->option_2;
linear->debug = symbol->debug;
if (linear->symbology != BARCODE_GS1_128_CC) {