Adjust maximum size of KIX code

KIX can be up to 18 characters, not just 11
Thanks to Age Bosma
This commit is contained in:
Robin Stuart 2010-09-13 20:47:22 +01:00
parent 4c7fcc4b47
commit 53573f12f6

View File

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