Oops, one more fix to rotateCounterClockwise() here
[zxing.git] / core / src / com / google / zxing / common / CroppedMonochromeBitmapSource.java
index a3adf57..f78cc38 100644 (file)
@@ -87,8 +87,8 @@ public final class CroppedMonochromeBitmapSource implements MonochromeBitmapSour
     return new CroppedMonochromeBitmapSource(rotated,
                                              top,
                                              delegate.getWidth() - right,
-                                             delegate.getHeight() - bottom,
-                                             left);
+                                             bottom,
+                                             delegate.getWidth() - left);
   }
 
   public boolean isRotateSupported() {