mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00: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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user