mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-14 07:04:34 -04:00
composite: less confusing error message for no linear data
GUI: restore mainWindow min width to allow squashability GUI/manual: use EAN and UPC initials first rather than long names (easier to spot)
This commit is contained in:
parent
270f1d136c
commit
a232dec4ff
12 changed files with 39 additions and 31 deletions
|
@ -1298,7 +1298,7 @@ INTERNAL int composite(struct zint_symbol *symbol, unsigned char source[], int l
|
|||
error_number = 0;
|
||||
pri_len = (int) strlen(symbol->primary);
|
||||
if (pri_len == 0) {
|
||||
strcpy(symbol->errtxt, "445: No primary (linear) message in 2D composite");
|
||||
strcpy(symbol->errtxt, "445: No primary (linear) message");
|
||||
return ZINT_ERROR_INVALID_OPTION; /* TODO: change to more appropiate ZINT_ERROR_INVALID_DATA */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue