mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 10:45:12 -04:00
Bug fix for Ticket 56: Codablock F: [StartA] was coded as [StartA][SHIFT] resulting in wrong Code and illegal memory access to wrong Code128 pattern
This commit is contained in:
parent
e921172f7a
commit
7494a241ca
1 changed files with 1 additions and 1 deletions
|
@ -878,7 +878,7 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||
characterSetCur=CodeC;
|
||||
}
|
||||
}
|
||||
if ((pSet[charCur]&CodeA)!=0)
|
||||
if ((pSet[charCur]&CShift)!=0)
|
||||
{
|
||||
/* >> Shift it and put out the shifted character */
|
||||
ASCIIZ128(&pOutPos,characterSetCur,aShift,'\0');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue