mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
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:
parent
7b2856c083
commit
93fa54a784
@ -610,7 +610,7 @@ int dm200encode(struct zint_symbol *symbol, unsigned char source[], unsigned cha
|
||||
int value = 0;
|
||||
|
||||
next_mode = DM_X12;
|
||||
if(text_p == 0) {
|
||||
if(x12_p == 0) {
|
||||
next_mode = look_ahead_test(source, inputlen, sp, current_mode, gs1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user