mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
library: compat symbology 39 fix; ISBN: "X" check
WARN_FAIL_ALL: always return error: ZINT_ERROR_USES_ECI/NON_COMPLIANT Fuller error messages; more comments zint.h mainwindow.cpp: replace metaobject ENUM with array (suppresses virtual in constructor warning)
This commit is contained in:
@ -58,7 +58,7 @@ static void test_utf8_to_unicode(int index, int debug) {
|
||||
|
||||
testStart("test_utf8_to_unicode");
|
||||
|
||||
symbol.debug |= debug;
|
||||
symbol.debug = debug;
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
int ret_length;
|
||||
@ -136,11 +136,11 @@ static void test_debug_test_codeword_dump_int(int index, int debug) {
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
int i;
|
||||
|
||||
struct zint_symbol symbol;
|
||||
struct zint_symbol symbol = {0};
|
||||
|
||||
testStart("test_debug_test_codeword_dump_int");
|
||||
|
||||
symbol.debug |= debug;
|
||||
symbol.debug = debug;
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
Reference in New Issue
Block a user