Issue 165

git-svn-id: https://zxing.googlecode.com/svn/trunk@901 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2009-04-06 21:56:31 +00:00
parent 3d8d68a464
commit f743341043

View file

@ -118,6 +118,7 @@ namespace qrcode {
FormatInformation::numBitsDiffering(versionBits, targetVersion);
if (bitsDifference < bestDifference) {
bestVersion = i + 7;
bestDifference = bitsDifference;
}
}
// We can tolerate up to 3 bits of error since no two version info codewords will