mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Re MR #121 calcium -> static; reinstate STATIC_UNLESS_ZINT_TEST error_tag/strip_bom; whitespace
This commit is contained in:
@ -236,7 +236,7 @@ INTERNAL int codabar(struct zint_symbol *symbol, unsigned char source[], int len
|
||||
add_checksum = symbol->option_2 == 1;
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
const char calcium[] = CALCIUM;
|
||||
static const char calcium[] = CALCIUM;
|
||||
if (add_checksum) {
|
||||
count += strchr(calcium, source[i]) - calcium;
|
||||
if (i + 1 == length) {
|
||||
|
Reference in New Issue
Block a user