[SCM] Multi-format 1D/2D barcode image processing library branch, upstream, updated. 24d4480bc48cf9eabf7b2bd2f528248b0e458809
srowen
srowen at 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Wed Aug 4 01:31:41 UTC 2010
The following commit has been merged in the upstream branch:
commit 48a784144880eab9f726f030bdce41cca1ff8870
Author: srowen <srowen at 59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Date: Wed May 19 18:36:59 2010 +0000
Issue 411
git-svn-id: http://zxing.googlecode.com/svn/trunk@1375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
diff --git a/core/src/com/google/zxing/qrcode/QRCodeReader.java b/core/src/com/google/zxing/qrcode/QRCodeReader.java
index 296f27d..575af1f 100644
--- a/core/src/com/google/zxing/qrcode/QRCodeReader.java
+++ b/core/src/com/google/zxing/qrcode/QRCodeReader.java
@@ -121,10 +121,10 @@ public class QRCodeReader implements Reader {
// And now find where the rightmost black module on the first row ends
int rowEndOfSymbol = width - 1;
- while (rowEndOfSymbol >= 0 && !image.get(rowEndOfSymbol, y)) {
+ while (rowEndOfSymbol > x && !image.get(rowEndOfSymbol, y)) {
rowEndOfSymbol--;
}
- if (rowEndOfSymbol < 0) {
+ if (rowEndOfSymbol <= x) {
throw NotFoundException.getNotFoundInstance();
}
rowEndOfSymbol++;
--
Multi-format 1D/2D barcode image processing library
More information about the Pkg-google-commits
mailing list