mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13: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
@ -878,7 +878,7 @@ int codablock(struct zint_symbol *symbol, unsigned char source[], int length) {
|
|||||||
characterSetCur=CodeC;
|
characterSetCur=CodeC;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((pSet[charCur]&CodeA)!=0)
|
if ((pSet[charCur]&CShift)!=0)
|
||||||
{
|
{
|
||||||
/* >> Shift it and put out the shifted character */
|
/* >> Shift it and put out the shifted character */
|
||||||
ASCIIZ128(&pOutPos,characterSetCur,aShift,'\0');
|
ASCIIZ128(&pOutPos,characterSetCur,aShift,'\0');
|
||||||
|
Loading…
Reference in New Issue
Block a user