Correct reader init bug in Code 128

This commit is contained in:
Robin Stuart 2018-06-19 21:14:02 +01:00
parent 3ed1b5692f
commit 7409399438

View File

@ -509,7 +509,7 @@ int code_128(struct zint_symbol *symbol, unsigned char source[], const size_t le
break; break;
case 'C': /* Start C */ case 'C': /* Start C */
strcat(dest, C128Table[104]); /* Start B */ strcat(dest, C128Table[104]); /* Start B */
values[0] = 105; values[0] = 104;
strcat(dest, C128Table[96]); /* FNC3 */ strcat(dest, C128Table[96]); /* FNC3 */
values[1] = 96; values[1] = 96;
strcat(dest, C128Table[99]); /* Code C */ strcat(dest, C128Table[99]); /* Code C */