diff --git a/backend/upcean.c b/backend/upcean.c index 4ee62fcc..68508a4e 100644 --- a/backend/upcean.c +++ b/backend/upcean.c @@ -753,8 +753,8 @@ int eanx(struct zint_symbol *symbol, unsigned char source[], int src_len) { ean_leading_zeroes(symbol, source, local_source); - if (source[reader] == '+') { for (reader = 0; reader < ustrlen(local_source); reader++) { + if (local_source[reader] == '+') { with_addon = TRUE; } }