diff --git a/backend/code1.c b/backend/code1.c index 426d1500..77ad67f9 100644 --- a/backend/code1.c +++ b/backend/code1.c @@ -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]; diff --git a/backend/code49.c b/backend/code49.c index d83c9955..277a29cc 100644 --- a/backend/code49.c +++ b/backend/code49.c @@ -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) {