mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Bug fix from K. Kakima
git-svn-id: https://zxing.googlecode.com/svn/trunk@120 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
87c2c1acaa
commit
fd68032e1a
|
@ -99,7 +99,7 @@ final class AlignmentPatternFinder {
|
|||
// Burn off leading white pixels before anything else; if we start in the middle of
|
||||
// a white run, it doesn't make sense to count its length, since we don't know if the
|
||||
// white run continued to the left of the start point
|
||||
while (!luminanceRow.get(j - startX) && j < maxJ) {
|
||||
while (j < maxJ && !luminanceRow.get(j - startX)) {
|
||||
j++;
|
||||
}
|
||||
while (j < maxJ) {
|
||||
|
|
Loading…
Reference in a new issue