height max 500 -> 2000 to allow for 44 row CODABLOCKF at 45X each

This commit is contained in:
gitlost 2021-10-18 14:05:51 +01:00
parent 0b8c488853
commit e8b59aa696
7 changed files with 37 additions and 36 deletions

View file

@ -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);
}