mirror of
https://github.com/zxing/zxing.git
synced 2025-01-13 04:07:27 -08:00
Issue 411
git-svn-id: https://zxing.googlecode.com/svn/trunk@1375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
26d3441a9d
commit
cd06f524d8
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue