mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Merge pull request #290 from shifucun/master
Fix PDF417 numeric encoding grouping index check
This commit is contained in:
commit
71d83953bd
|
@ -421,7 +421,7 @@ final class PDF417HighLevelEncoder {
|
|||
StringBuilder tmp = new StringBuilder(count / 3 + 1);
|
||||
BigInteger num900 = BigInteger.valueOf(900);
|
||||
BigInteger num0 = BigInteger.valueOf(0);
|
||||
while (idx < count - 1) {
|
||||
while (idx < count) {
|
||||
tmp.setLength(0);
|
||||
int len = Math.min(44, count - idx);
|
||||
String part = '1' + msg.substring(startpos + idx, startpos + idx + len);
|
||||
|
|
Loading…
Reference in a new issue