mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-24 20:36:03 +00:00
- Add special symbology-specific escape sequences (Code 128 only)
for manual Code Set switching via `input_mode` flag `EXTRA_ESCAPE_MODE` (CLI `--extraesc`) (ticket #204) - GUI: disable "Reset" colour if default; add "Unset" to Printing Scale dialog (allows unsetting of X-dim/resolution settings without having to zap) - library: guard against out-of-bounds rows (negative) - test suite: fix some clang-tidy warnings; slight coverage improvements
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
libzint - the open source barcode library
|
||||
Copyright (C) 2019-2022 Robin Stuart <rstuart114@gmail.com>
|
||||
Copyright (C) 2019-2023 Robin Stuart <rstuart114@gmail.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -424,7 +424,7 @@ static void test_input(const testCtx *const p_ctx) {
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
int i, length, ret;
|
||||
struct zint_symbol *symbol;
|
||||
int last_fast_num_cwds;
|
||||
int last_fast_num_cwds = 0; /* Keep clang-tidy happy */
|
||||
|
||||
char escaped[1024];
|
||||
char cmp_buf[32768];
|
||||
@@ -3925,7 +3925,7 @@ static void test_encode(const testCtx *const p_ctx) {
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
int i, length, ret;
|
||||
struct zint_symbol *symbol;
|
||||
int last_fast_num_cwds;
|
||||
int last_fast_num_cwds = 0; /* Keep clang-tidy happy */
|
||||
|
||||
char escaped[1024];
|
||||
char cmp_buf[32768];
|
||||
@@ -4663,7 +4663,7 @@ static void test_encode_segs(const testCtx *const p_ctx) {
|
||||
int data_size = ARRAY_SIZE(data);
|
||||
int i, j, seg_count, ret;
|
||||
struct zint_symbol *symbol;
|
||||
int last_fast_num_cwds;
|
||||
int last_fast_num_cwds = 0; /* Keep clang-tidy happy */
|
||||
|
||||
char escaped[1024];
|
||||
char cmp_buf[32768];
|
||||
|
||||
Reference in New Issue
Block a user