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{
bytes++;
}while(typemap[i + (bytes - 1)] == BINARY);
bytes--;
if(bytes > 2079) {
return ERROR_TOO_LONG;