mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Oops realized DM decoder also benefits from that last possible fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1166 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
18002649eb
commit
00c49493c0
|
@ -237,6 +237,9 @@ public final class Detector {
|
||||||
if (error > 0) {
|
if (error > 0) {
|
||||||
y += ystep;
|
y += ystep;
|
||||||
error -= dx;
|
error -= dx;
|
||||||
|
if (y == toY) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new ResultPointsAndTransitions(from, to, transitions);
|
return new ResultPointsAndTransitions(from, to, transitions);
|
||||||
|
|
Loading…
Reference in a new issue