mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-18 00:54:36 -04:00
PDF_MAX --> option_3
This commit is contained in:
parent
f44701be48
commit
244381770b
3 changed files with 3 additions and 4 deletions
|
@ -1435,7 +1435,7 @@ int cc_binary_string(struct zint_symbol *symbol, unsigned char source[], char bi
|
|||
codewords_used += ecc_codewords;
|
||||
codewords_used += 3;
|
||||
|
||||
if(codewords_used > PDF_MAX) {
|
||||
if(codewords_used > symbol->option_3) {
|
||||
return ERROR_TOO_LONG;
|
||||
}
|
||||
/* *(cc_width) = 0.5 + sqrt((codewords_used) / 3); */
|
||||
|
@ -1608,7 +1608,7 @@ int cc_binary_string(struct zint_symbol *symbol, unsigned char source[], char bi
|
|||
codewords_used += ecc_codewords;
|
||||
codewords_used += 3;
|
||||
|
||||
if(codewords_used > PDF_MAX) {
|
||||
if(codewords_used > symbol->option_3) {
|
||||
return ERROR_TOO_LONG;
|
||||
}
|
||||
/* *(cc_width) = 0.5 + sqrt((codewords_used) / 3); */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue