mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-03 16:38:42 -04:00
DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages
This commit is contained in:
parent
dfb9345b75
commit
9b63e2ae22
7 changed files with 586 additions and 69 deletions
|
@ -115,6 +115,8 @@
|
|||
- Added -gs1parens option
|
||||
2021-05-22 GL
|
||||
- Added -vwhitesp option
|
||||
2021-05-28 GL
|
||||
- -cols maximum changed from 108 to 200 (DotCode)
|
||||
*/
|
||||
|
||||
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
|
||||
|
@ -994,7 +996,7 @@ static int Encode(Tcl_Interp *interp, int objc,
|
|||
case iVers:
|
||||
/* >> Int in Option 2 */
|
||||
if (intValue < 1
|
||||
|| (optionIndex==iCols && intValue > 108)
|
||||
|| (optionIndex==iCols && intValue > 200)
|
||||
|| (optionIndex==iVers && intValue > 47))
|
||||
{
|
||||
Tcl_SetObjResult(interp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue