mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-14 23:24:39 -04:00
height max 500 -> 2000 to allow for 44 row CODABLOCKF at 45X each
This commit is contained in:
parent
0b8c488853
commit
e8b59aa696
7 changed files with 37 additions and 36 deletions
|
@ -1095,10 +1095,10 @@ int main(int argc, char **argv) {
|
|||
break;
|
||||
case OPT_HEIGHT:
|
||||
float_opt = (float) atof(optarg);
|
||||
if (float_opt >= 0.5f && float_opt <= 1000.0f) {
|
||||
if (float_opt >= 0.5f && float_opt <= 2000.0f) {
|
||||
my_symbol->height = float_opt;
|
||||
} else {
|
||||
fprintf(stderr, "Warning 110: Symbol height '%g' out of range (0.5 to 1000), ignoring\n",
|
||||
fprintf(stderr, "Warning 110: Symbol height '%g' out of range (0.5 to 2000), ignoring\n",
|
||||
float_opt);
|
||||
fflush(stderr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue