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:
srowen@gmail.com 2013-09-08 20:42:29 +00:00
parent 3228fb8e59
commit 7807214bbd

View file

@ -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,