mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Correct byte mode length bug
This commit is contained in:
parent
af26cb69f2
commit
1f4bbf2965
@ -573,6 +573,7 @@ int aztec_text_process(unsigned char source[], char binary_string[], int gs1)
|
||||
do{
|
||||
bytes++;
|
||||
}while(typemap[i + (bytes - 1)] == BINARY);
|
||||
bytes--;
|
||||
|
||||
if(bytes > 2079) {
|
||||
return ERROR_TOO_LONG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user