mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 22:54:35 -04:00
general: improve some wrong length error messages
This commit is contained in:
parent
c499620ff6
commit
bfcc398c35
14 changed files with 62 additions and 58 deletions
|
@ -400,7 +400,7 @@ INTERNAL int vin(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||
|
||||
/* Check length */
|
||||
if (length != 17) {
|
||||
return errtxtf(ZINT_ERROR_TOO_LONG, symbol, 336, "Input length %d wrong (17 only)", length);
|
||||
return errtxtf(ZINT_ERROR_TOO_LONG, symbol, 336, "Input length %d wrong (17 characters required)", length);
|
||||
}
|
||||
|
||||
/* Check input characters, I, O and Q are not allowed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue