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:
srowen 2009-05-22 08:19:11 +00:00
parent 7a8635677a
commit 825d99786d

View file

@ -108,11 +108,11 @@ public final class GenericMultipleBarcodeReader implements MultipleBarcodeReader
}
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);
}
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);
}
if (maxX < width - 1) {