mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 06:34:32 -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
|
@ -593,8 +593,8 @@ INTERNAL int maxicode(struct zint_symbol *symbol, struct zint_seg segs[], const
|
|||
if (lp == 0) {
|
||||
return errtxt(ZINT_ERROR_INVALID_DATA, symbol, 548, "Primary Message empty");
|
||||
}
|
||||
return errtxtf(ZINT_ERROR_INVALID_DATA, symbol, 551, "Primary Message length %d wrong (7 to 15 only)",
|
||||
lp);
|
||||
return errtxtf(ZINT_ERROR_INVALID_DATA, symbol, 551,
|
||||
"Primary Message length %d wrong (7 to 15 characters required)", lp);
|
||||
}
|
||||
postcode_len = lp - 6;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue