Spelt / ZXing.Delphi

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

EArgumentOutOfRangeException in TReadResult.addResultPoints #158

Closed Renaitor closed 10 months ago

Renaitor commented 11 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.