mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-28 22:14:19 -04:00
Bug fix: Leading zeroes make ISBN wrong length
This commit is contained in:
parent
3cd0c5d2d8
commit
84b0118c04
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue