Add GS1 encoding

This commit is contained in:
hooper114 2009-07-13 19:04:01 +00:00
parent 31ffc6e644
commit 3c5b7d5a2e
2 changed files with 2 additions and 2 deletions

View file

@ -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) {