Add verbose mode to output debug info without recompiling

This commit is contained in:
Robin Stuart 2017-04-11 10:05:38 +01:00
parent 5acbffff0d
commit 6f4610aa98
11 changed files with 26 additions and 22 deletions

View file

@ -536,7 +536,7 @@ static int dm200encode(struct zint_symbol *symbol, const unsigned char source[],
int sp, tp, i, gs1;
int current_mode, next_mode;
int inputlen = *length_p;
int debug = 0;
int debug = symbol->debug;
#ifndef _MSC_VER
char binary[2 * inputlen];
#else