mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
Bug fix: Does not detect automatic size option
This commit is contained in:
parent
84b0118c04
commit
38051c8dc1
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@ int matrix89(struct zint_symbol *symbol, unsigned char source[])
|
|||
symbol_size = (symbol->option_2 - 1);
|
||||
}
|
||||
|
||||
if(((symbol->option_2 - 1) < symbol_size) && ((symbol->option_2 - 1) != 0)) {
|
||||
if(((symbol->option_2 - 1) < symbol_size) && (symbol->option_2 != 0)) {
|
||||
strcpy(symbol->errtxt, "Unable to fit data in specified symbol size");
|
||||
error_number = WARN_INVALID_OPTION;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue