c++ changes for r2519

git-svn-id: https://zxing.googlecode.com/svn/trunk@2612 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
smparkes@smparkes.net 2013-04-01 06:01:17 +00:00
parent 0ccb52ab37
commit a27d470ede

View file

@ -55,11 +55,10 @@ void GenericMultipleBarcodeReader::doDecodeMultiple(Ref<BinaryBitmap> image,
break;
}
}
if (alreadyFound) {
return;
if (!alreadyFound) {
results.push_back(translateResultPoints(result, xOffset, yOffset));
}
results.push_back(translateResultPoints(result, xOffset, yOffset));
ArrayRef< Ref<ResultPoint> > resultPoints = result->getResultPoints();
if (resultPoints->empty()) {
return;