mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-28 06:16:03 +00: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