mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Replace WARN_ZPL_COMPAT with GS1NOCHECK_MODE
This commit is contained in:
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user