1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00

Correct byte mode length bug

This commit is contained in:
hooper114
2009-08-04 16:50:24 +00:00
parent af26cb69f2
commit 1f4bbf2965

View File

@@ -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;