Continuing with the x, y coordinate push, BitMatrix is now standardized. I also conve...
[zxing.git] / core / src / com / google / zxing / datamatrix / decoder / Decoder.java
index ac83bab..5b1e5db 100644 (file)
@@ -51,7 +51,7 @@ public final class Decoder {
     for (int i = 0; i < dimension; i++) {\r
       for (int j = 0; j < dimension; j++) {\r
         if (image[i][j]) {\r
-          bits.set(i, j);\r
+          bits.set(j, i);\r
         }\r
       }\r
     }\r