From 53573f12f6489611c18efc141e5d64efe33023db Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Mon, 13 Sep 2010 20:47:22 +0100 Subject: [PATCH] Adjust maximum size of KIX code KIX can be up to 18 characters, not just 11 Thanks to Age Bosma --- backend/postal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/postal.c b/backend/postal.c index e00984fc..59f3ae15 100644 --- a/backend/postal.c +++ b/backend/postal.c @@ -389,7 +389,7 @@ int kix_code(struct zint_symbol *symbol, unsigned char source[], int length) strcpy(localstr, (char *)source); /* Encode data */ - for (i = 0; i < 11; i++) { + for (i = 0; i < 18; i++) { lookup(KRSET, RoyalTable, localstr[i], height_pattern); }