mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-22 19:25:10 -04:00
Fix bugs found during GUI overhaul.
This commit is contained in:
parent
96d6242412
commit
f567430fea
4 changed files with 12 additions and 3 deletions
|
@ -1761,6 +1761,8 @@ int composite(struct zint_symbol *symbol, unsigned char source[])
|
|||
return error_number;
|
||||
}
|
||||
|
||||
if(cc_mode < 1 || cc_mode > 3) { cc_mode = 1; }
|
||||
|
||||
if(cc_mode == 1) {
|
||||
i = cc_binary_string(symbol, reduced, binary_string, cc_mode, &cc_width, &ecc_level, linear->width);
|
||||
if (i == ERROR_TOO_LONG) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue