mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-24 12:07:00 -04:00
bug fix from Yannick Morin-Rivest
This commit is contained in:
parent
d38e41fa74
commit
bc9a51372e
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ char ecc200encode(unsigned char *t, int tl, unsigned char *s, int sl,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (p == 2 && tp + 2 == tl && sp == sl)
|
||||
if (p == 2 && tp + 2 <= tl && sp == sl)
|
||||
out[p++] = 0; // shift 1 pad at end
|
||||
while (p >= 3) {
|
||||
int v =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue