mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
MSVC corrections thanks to Norbert Szabó
This commit is contained in:
parent
776154d3fe
commit
f48a8603e8
5 changed files with 39 additions and 29 deletions
|
@ -771,7 +771,6 @@ void add_tail(unsigned char target[], int tp, int tail_length, int last_mode)
|
|||
int data_matrix_200(struct zint_symbol *symbol, unsigned char source[])
|
||||
{
|
||||
int inputlen, i;
|
||||
inputlen = ustrlen(source);
|
||||
unsigned char binary[2000];
|
||||
int binlen;
|
||||
int symbolsize, optionsize, calcsize;
|
||||
|
@ -779,6 +778,7 @@ int data_matrix_200(struct zint_symbol *symbol, unsigned char source[])
|
|||
int H, W, FH, FW, datablock, bytes, rsblock;
|
||||
int last_mode;
|
||||
unsigned char *grid = 0;
|
||||
inputlen = ustrlen(source);
|
||||
|
||||
binlen = dm200encode(symbol, source, binary, &last_mode);
|
||||
if(binlen == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue