Wrong length variable used for x12:

Data "P4022.631.50231>SN2743>4LCA>VOPTIM01US>10D2014/7/28" was a spurious "8" appended.
Fix by Milton Neal and Robin Stuart.
This commit is contained in:
Harald Oehlmann 2015-08-18 14:26:24 +02:00
parent 7b2856c083
commit 93fa54a784

View File

@ -610,7 +610,7 @@ int dm200encode(struct zint_symbol *symbol, unsigned char source[], unsigned cha
int value = 0; int value = 0;
next_mode = DM_X12; next_mode = DM_X12;
if(text_p == 0) { if(x12_p == 0) {
next_mode = look_ahead_test(source, inputlen, sp, current_mode, gs1); next_mode = look_ahead_test(source, inputlen, sp, current_mode, gs1);
} }