mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add GS1 encoding
This commit is contained in:
parent
31ffc6e644
commit
3c5b7d5a2e
@ -1171,7 +1171,7 @@ int code_one(struct zint_symbol *symbol, unsigned char source[])
|
||||
}
|
||||
|
||||
if((symbol->option_2 != 9) && (symbol->option_2 != 10)) {
|
||||
/* Version A to H or T */
|
||||
/* Version A to H */
|
||||
unsigned int data[1500], ecc[600];
|
||||
unsigned int sub_data[190], sub_ecc[75];
|
||||
unsigned int stream[2100];
|
||||
|
@ -51,7 +51,7 @@ int code_49(struct zint_symbol *symbol, unsigned char source[])
|
||||
strcpy(symbol->errtxt, "Invalid characters in input data");
|
||||
return ERROR_INVALID_DATA;
|
||||
}
|
||||
if(gs1 && (i = 0)) {
|
||||
if(gs1 && (i == 0)) {
|
||||
concat(intermediate, "*"); /* FNC1 */
|
||||
}
|
||||
if(source[i] == symbol->nullchar) {
|
||||
|
Loading…
Reference in New Issue
Block a user