mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 13:04:05 -08:00
Off by one error in last change
git-svn-id: https://zxing.googlecode.com/svn/trunk@949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
7a8635677a
commit
825d99786d
|
@ -108,11 +108,11 @@ public final class GenericMultipleBarcodeReader implements MultipleBarcodeReader
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minX > 0) {
|
if (minX > 0) {
|
||||||
doDecodeMultiple(new CroppedMonochromeBitmapSource(image, 0, 0, (int) minX - 1, height),
|
doDecodeMultiple(new CroppedMonochromeBitmapSource(image, 0, 0, (int) minX, height),
|
||||||
hints, results, 0, 0);
|
hints, results, 0, 0);
|
||||||
}
|
}
|
||||||
if (minY > 0) {
|
if (minY > 0) {
|
||||||
doDecodeMultiple(new CroppedMonochromeBitmapSource(image, 0, 0, width, (int) minY - 1),
|
doDecodeMultiple(new CroppedMonochromeBitmapSource(image, 0, 0, width, (int) minY),
|
||||||
hints, results, 0, 0);
|
hints, results, 0, 0);
|
||||||
}
|
}
|
||||||
if (maxX < width - 1) {
|
if (maxX < width - 1) {
|
||||||
|
|
Loading…
Reference in a new issue