To fix http://groups.google.com/group/zxing/browse_thread/thread/bf1d150a7ed44ee8...
[zxing.git] / core / src / com / google / zxing / oned / OneDReader.java
index fc8bd8d..0717c5d 100644 (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