Issue 1221 / Issue 1276, fix compile error for AS

git-svn-id: https://zxing.googlecode.com/svn/trunk@2300 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2012-05-31 08:17:40 +00:00
parent 3eef60c308
commit 27e9d28f8f
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ public class DefaultGridSampler extends GridSampler
// sufficient to check the endpoints
checkAndNudgePoints(image, points);
try {
for (var x:int = 0; x < max; x += 2) {
for (x = 0; x < max; x += 2) {
if (image._get(int(points[x]), int( points[x + 1]))) {
// Black(-ish) pixel
bits._set(x >> 1, y);

View file

@ -20,9 +20,9 @@ package com.google.zxing.multi.qrcode.detector
import com.google.zxing.DecodeHintType;
import com.google.zxing.ReaderException;
import com.google.zxing.ResultPoint;
import com.google.zxing.ResultPointCallback;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.common.Collections;
import com.google.zxing.common.ResultPointCallback;
import com.google.zxing.common.flexdatatypes.ArrayList;
import com.google.zxing.common.flexdatatypes.HashTable;
import com.google.zxing.qrcode.detector.FinderPattern;