git-svn-id: https://zxing.googlecode.com/svn/trunk@1239 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-03-05 10:41:51 +00:00
parent d273ab5dbc
commit 70933a7ffd

View file

@ -103,7 +103,7 @@ public abstract class OneDReader implements Reader {
int middle = height >> 1;
boolean tryHarder = hints != null && hints.containsKey(DecodeHintType.TRY_HARDER);
int rowStep = Math.max(1, height >> (tryHarder ? 7 : 4));
int rowStep = Math.max(1, height >> (tryHarder ? 8 : 4));
int maxLines;
if (tryHarder) {
maxLines = height; // Look at the whole image, not just the center