mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE
This commit is contained in:
parent
7cc2095d3c
commit
2e84fd5157
21 changed files with 1157 additions and 707 deletions
|
@ -1036,14 +1036,12 @@ INTERNAL int ean_128_cc(struct zint_symbol *symbol, unsigned char source[], int
|
|||
#endif
|
||||
|
||||
for (i = 0; i < length; i++) {
|
||||
if ((source[i] != '[') && (source[i] != ']')) {
|
||||
symbol->text[i] = source[i];
|
||||
}
|
||||
if (source[i] == '[') {
|
||||
symbol->text[i] = '(';
|
||||
}
|
||||
if (source[i] == ']') {
|
||||
} else if (source[i] == ']') {
|
||||
symbol->text[i] = ')';
|
||||
} else {
|
||||
symbol->text[i] = source[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue