mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-13 06:34:32 -04:00
Resolve Latin-1 in Code 128 bug
This commit is contained in:
parent
35cacaef67
commit
fdb6485ef1
6 changed files with 37 additions and 47 deletions
|
@ -553,11 +553,6 @@ int code_128(struct zint_symbol *symbol, unsigned char source[], int length)
|
|||
/* Stop character */
|
||||
concat(dest, C128Table[106]);
|
||||
expand(symbol, dest);
|
||||
|
||||
for(i = 0; i < length; i++) {
|
||||
symbol->text[i] = source[i] ? source[i] : ' ';
|
||||
}
|
||||
symbol->text[length] = '\0';
|
||||
return error_number;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue