mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-22 12:27:03 +00:00
Bug fix: Leading zeroes make ISBN wrong length
This commit is contained in:
@@ -546,7 +546,7 @@ void ean_leading_zeroes(struct zint_symbol *symbol, unsigned char source[], unsi
|
||||
if(first_len <= 6) { zfirst_len = 6; }
|
||||
break;
|
||||
case BARCODE_ISBNX:
|
||||
if(first_len <= 11) { zfirst_len = 11; }
|
||||
if(first_len <= 9) { zfirst_len = 9; }
|
||||
break;
|
||||
}
|
||||
if(second_len <= 5) { zsecond_len = 5; }
|
||||
|
||||
Reference in New Issue
Block a user