Oops, one more fix to rotateCounterClockwise() here
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 24 May 2009 13:06:51 +0000 (13:06 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 24 May 2009 13:06:51 +0000 (13:06 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@952 59b500cc-1b3d-0410-9834-0bbf25fbcc57

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() {