Issue 166

git-svn-id: https://zxing.googlecode.com/svn/trunk@902 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2009-04-06 21:59:03 +00:00
parent f743341043
commit 58705e7b91

View file

@ -40,7 +40,7 @@ namespace qrcode {
image_(image) { }
Ref<DetectorResult> Detector::detect() {
if (!BlackPointEstimationMethod_2D == image_->getLastEstimationMethod()) {
if (BlackPointEstimationMethod_2D != image_->getLastEstimationMethod()) {
image_->estimateBlackPoint(BlackPointEstimationMethod_2D, 0);
}