mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Adjusted max length Postnet and PLANET
This commit is contained in:
parent
8438d1298d
commit
8d1b63f180
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ int postnet(struct zint_symbol *symbol, unsigned char source[], char dest[])
|
|||
|
||||
error_number = 0;
|
||||
|
||||
if(ustrlen(source) > 90) {
|
||||
if(ustrlen(source) > 38) {
|
||||
strcpy(symbol->errtxt, "Input too long [401]");
|
||||
return ERROR_TOO_LONG;
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ int planet(struct zint_symbol *symbol, unsigned char source[], char dest[])
|
|||
|
||||
error_number = 0;
|
||||
|
||||
if(ustrlen(source) > 90) {
|
||||
if(ustrlen(source) > 38) {
|
||||
strcpy(symbol->errtxt, "Input too long [821]");
|
||||
return ERROR_TOO_LONG;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue