diff --git a/backend/aztec.c b/backend/aztec.c index 69bded02..2698a6b8 100644 --- a/backend/aztec.c +++ b/backend/aztec.c @@ -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;