Skip to content

Commit

Permalink
Merge pull request #574 from JanPolasek/fix-code128
Browse files Browse the repository at this point in the history
Fix merge mistake in Code128Reader
  • Loading branch information
werthdavid authored Apr 29, 2024
2 parents e8fa80b + 9eafad3 commit 8963281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/oned/Code128Reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default class Code128Reader extends OneDReader {
}
patternStart += counters[0] + counters[1];

counters = counters.slice(2, counters.length - 1);
counters = counters.slice(2, counters.length);
counters[counterPosition - 1] = 0;
counters[counterPosition] = 0;
counterPosition--;
Expand Down

0 comments on commit 8963281

Please sign in to comment.