Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
471 stars 206 forks source link

EArgumentOutOfRangeException in TReadResult.addResultPoints #158

Closed Renaitor closed 8 months ago

Renaitor commented 9 months ago

In recent change f190cfa9acec1e49e2571415b89650bc8eaafb96 for issue #143, a raise of EArgumentOutOfRangeException "Argument out of range." in ZXing.ReadResult.TReadResult.addResultPoints has been introduced.

To resolve this, a simple addition of both generic arrays is sufficient. I'll provide a PR for this shortly.