Fix typo in method "isRotate*d*Supported"; don't attempt to rotate images of unknown...
[zxing.git] / core / src / com / google / zxing / oned / AbstractOneDReader.java
index a543f31..a754db2 100644 (file)
@@ -43,7 +43,7 @@ public abstract class AbstractOneDReader implements OneDReader {
     try {
       return doDecode(image, hints, tryHarder);
     } catch (ReaderException re) {
-      if (tryHarder && image.isRotatedSupported()) {
+      if (tryHarder && image.isRotateSupported()) {
         MonochromeBitmapSource rotatedImage = image.rotateCounterClockwise();
         return doDecode(rotatedImage, hints, tryHarder);        
       } else {