mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-24 20:36:03 +00:00
DOTCODE: fix not emitting FNC1 (signalling non-GS1) when input
just 2 digits cmake: set `rpath` of CLI frontend on macOS install (ticket #346, props Hagen Röwer) cmake: make uninstall: update to use `-E rm` if available, warn rather than fatal error if fail to remove, note if leaving "/zint" directory unremoved (i.e. "lib/cmake/zint") library: de-duplicate errtxt no. test suite: update BWIPP to latest test suite: test_bwipp: enable & fix dotcode random test test suite: fuzz: gen_corpora fuzz_data 1st -> 2nd
This commit is contained in:
@@ -1029,7 +1029,7 @@ int ZBarcode_Encode_Segs(struct zint_symbol *symbol, const struct zint_seg segs[
|
||||
return error_tag(error_number, symbol, -1, NULL);
|
||||
}
|
||||
if (escaped_len > ZINT_MAX_DATA_LEN) {
|
||||
return error_tag(ZINT_ERROR_TOO_LONG, symbol, 797, "Input too long");
|
||||
return error_tag(ZINT_ERROR_TOO_LONG, symbol, 796, "Input too long");
|
||||
}
|
||||
total_len += escaped_len;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user