mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
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:
parent
4c7fcc4b47
commit
53573f12f6
@ -389,7 +389,7 @@ int kix_code(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||||||
strcpy(localstr, (char *)source);
|
strcpy(localstr, (char *)source);
|
||||||
|
|
||||||
/* Encode data */
|
/* Encode data */
|
||||||
for (i = 0; i < 11; i++) {
|
for (i = 0; i < 18; i++) {
|
||||||
lookup(KRSET, RoyalTable, localstr[i], height_pattern);
|
lookup(KRSET, RoyalTable, localstr[i], height_pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user