mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 22:54:35 -04:00
Structured Append: fix DOTCODE codeword length allowance; manual.txt fixes
This commit is contained in:
parent
c0791ad85e
commit
14c236644f
2 changed files with 24 additions and 22 deletions
|
@ -1385,7 +1385,7 @@ INTERNAL int dotcode(struct zint_symbol *symbol, unsigned char source[], int len
|
|||
int debug_print = (symbol->debug & ZINT_DEBUG_PRINT);
|
||||
int padding_dots, is_first;
|
||||
/* Allow 4 codewords per input + 2 (FNC) + 4 (ECI) + 2 (special char 1st position) + 4 (Structured Append) */
|
||||
int codeword_array_len = length * 4 + 8 + 3;
|
||||
int codeword_array_len = length * 4 + 2 + 4 + 2 + 4;
|
||||
|
||||
#ifndef _MSC_VER
|
||||
unsigned char codeword_array[codeword_array_len];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue