From 825d99786da62c44999ac01bbd9704e8341a1a00 Mon Sep 17 00:00:00 2001 From: srowen Date: Fri, 22 May 2009 08:19:11 +0000 Subject: [PATCH] Off by one error in last change git-svn-id: https://zxing.googlecode.com/svn/trunk@949 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../com/google/zxing/multi/GenericMultipleBarcodeReader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java index 946869107..8e3e7504d 100644 --- a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java +++ b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java @@ -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) {