From 1f4bbf2965f56e9c23bc272b7069d754c82564c8 Mon Sep 17 00:00:00 2001 From: hooper114 Date: Tue, 4 Aug 2009 16:50:24 +0000 Subject: [PATCH] Correct byte mode length bug --- backend/aztec.c | 1 + 1 file changed, 1 insertion(+) 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;