mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13: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:
@ -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 */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user