Skip to content

Commit

Permalink
Merge pull request #536 from hxtmdev/fix-upcean
Browse files Browse the repository at this point in the history
Fix merge mistake in AbstractUPCEANReader
  • Loading branch information
werthdavid authored Apr 19, 2023
2 parents 2c430fe + 4981ece commit 2a63422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/oned/AbstractUPCEANReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default abstract class AbstractUPCEANReader extends OneDReader {
}
patternStart += counters[0] + counters[1];

let slice = counters.slice(2, counters.length - 1);
let slice = counters.slice(2, counters.length);
for (let i = 0; i < counterPosition - 1; i++) {
counters[i] = slice[i];
}
Expand Down

0 comments on commit 2a63422

Please sign in to comment.