mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-15 23:54:34 -04:00
Mode C bugfix
This commit is contained in:
parent
636a18c74f
commit
7e0893aa30
1 changed files with 3 additions and 3 deletions
|
@ -195,7 +195,7 @@ int code16k(struct zint_symbol *symbol, unsigned char source[])
|
||||||
|
|
||||||
/* Resolve odd length LATCHC blocks */
|
/* Resolve odd length LATCHC blocks */
|
||||||
if((list[1][0] == LATCHC) && ((list[0][0] % 2) == 1)) {
|
if((list[1][0] == LATCHC) && ((list[0][0] % 2) == 1)) {
|
||||||
for(i = 1; i <= indexliste; i++) {
|
for(i = indexliste; i > 0; i--) {
|
||||||
list[0][i] = list[0][i - 1];
|
list[0][i] = list[0][i - 1];
|
||||||
list[1][i] = list[1][i - 1];
|
list[1][i] = list[1][i - 1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue