projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed the order of the BaseMonochromeBitmapSource constructor arguments to be width...
[zxing.git]
/
android
/
src
/
com
/
google
/
zxing
/
client
/
android
/
YUVMonochromeBitmapSource.java
diff --git
a/android/src/com/google/zxing/client/android/YUVMonochromeBitmapSource.java
b/android/src/com/google/zxing/client/android/YUVMonochromeBitmapSource.java
index
913240f
..
8aad467
100755
(executable)
--- a/
android/src/com/google/zxing/client/android/YUVMonochromeBitmapSource.java
+++ b/
android/src/com/google/zxing/client/android/YUVMonochromeBitmapSource.java
@@
-78,7
+78,7
@@
public final class YUVMonochromeBitmapSource extends BaseMonochromeBitmapSource
int cropLeft,
int cropBottom,
int cropRight) {
int cropLeft,
int cropBottom,
int cropRight) {
- super(crop
Bottom - cropTop, cropRight - cropLeft
);
+ super(crop
Right - cropLeft, cropBottom - cropTop
);
if (cropRight - cropLeft > dataWidth || cropBottom - cropTop > dataHeight) {
throw new IllegalArgumentException();
}
if (cropRight - cropLeft > dataWidth || cropBottom - cropTop > dataHeight) {
throw new IllegalArgumentException();
}