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

@ -1018,7 +1018,7 @@ static int Encode(Tcl_Interp *interp, int objc,
}
break;
case iHeight:
if ((float)doubleValue < 0.5f || (float)doubleValue > 1000.0f) {
if ((float)doubleValue < 0.5f || (float)doubleValue > 2000.0f) {
Tcl_SetObjResult(interp,
Tcl_NewStringObj("Height out of range", -1));
fError = 1;