mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-22 03:05:11 -04:00
Correct byte mode length bug
This commit is contained in:
parent
af26cb69f2
commit
1f4bbf2965
1 changed files with 1 additions and 0 deletions
|
@ -573,6 +573,7 @@ int aztec_text_process(unsigned char source[], char binary_string[], int gs1)
|
||||||
do{
|
do{
|
||||||
bytes++;
|
bytes++;
|
||||||
}while(typemap[i + (bytes - 1)] == BINARY);
|
}while(typemap[i + (bytes - 1)] == BINARY);
|
||||||
|
bytes--;
|
||||||
|
|
||||||
if(bytes > 2079) {
|
if(bytes > 2079) {
|
||||||
return ERROR_TOO_LONG;
|
return ERROR_TOO_LONG;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue