Re MR #121 calcium -> static; reinstate STATIC_UNLESS_ZINT_TEST error_tag/strip_bom; whitespace

This commit is contained in:
gitlost
2021-06-10 16:20:14 +01:00
parent 43d7493cf2
commit ede1234b8f
3 changed files with 15 additions and 15 deletions

View File

@ -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) {