mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-25 12:55:59 +00:00
Fix of by one error and check only data. Not the zero at the end.
This commit is contained in:
committed by
Robin Stuart
parent
025a485ddf
commit
45633751ee
@@ -753,8 +753,8 @@ int eanx(struct zint_symbol *symbol, unsigned char source[], int src_len) {
|
|||||||
|
|
||||||
ean_leading_zeroes(symbol, source, local_source);
|
ean_leading_zeroes(symbol, source, local_source);
|
||||||
|
|
||||||
for (reader = 0; reader <= ustrlen(local_source); reader++) {
|
|
||||||
if (source[reader] == '+') {
|
if (source[reader] == '+') {
|
||||||
|
for (reader = 0; reader < ustrlen(local_source); reader++) {
|
||||||
with_addon = TRUE;
|
with_addon = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user