mirror of
https://github.com/zxing/zxing.git
synced 2025-02-21 02:55:27 -08:00
Issue 1776 fix bad location of Code 39 end pattern when followed by lots of white space
git-svn-id: https://zxing.googlecode.com/svn/trunk@2886 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
3228fb8e59
commit
7807214bbd
|
@ -165,7 +165,7 @@ public final class Code39Reader extends OneDReader {
|
||||||
}
|
}
|
||||||
|
|
||||||
float left = (float) (start[1] + start[0]) / 2.0f;
|
float left = (float) (start[1] + start[0]) / 2.0f;
|
||||||
float right = (float) (nextStart + lastStart) / 2.0f;
|
float right = lastStart + lastPatternSize / 2.0f;
|
||||||
return new Result(
|
return new Result(
|
||||||
resultString,
|
resultString,
|
||||||
null,
|
null,
|
||||||
|
|
Loading…
Reference in a new issue