From 885856bbc4a53433cd6c8467df7e48374ace6491 Mon Sep 17 00:00:00 2001 From: "smparkes@smparkes.net" Date: Tue, 30 Oct 2012 22:00:23 +0000 Subject: [PATCH] Fix typo in Aztec. Tests match Java. git-svn-id: https://zxing.googlecode.com/svn/trunk@2491 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- cpp/core/src/zxing/aztec/detector/Detector.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpp/core/src/zxing/aztec/detector/Detector.cpp b/cpp/core/src/zxing/aztec/detector/Detector.cpp index 6808ededc..563c52916 100644 --- a/cpp/core/src/zxing/aztec/detector/Detector.cpp +++ b/cpp/core/src/zxing/aztec/detector/Detector.cpp @@ -46,8 +46,6 @@ Detector::Detector(Ref image): } -// using namespace std; - Ref Detector::detect() { Ref pCenter = getMatrixCenter(); @@ -330,7 +328,7 @@ Ref Detector::getMatrixCenter() { pointA = getFirstDifferent(Ref(new Point(cx+15/2, cy-15/2)), false, 1, -1)->toResultPoint(); pointB = getFirstDifferent(Ref(new Point(cx+15/2, cy+15/2)), false, 1, 1)->toResultPoint(); - pointC = getFirstDifferent(Ref(new Point(cx-15/2, cy+15/2)), false, -1, -1)->toResultPoint(); + pointC = getFirstDifferent(Ref(new Point(cx-15/2, cy+15/2)), false, -1, 1)->toResultPoint(); pointD = getFirstDifferent(Ref(new Point(cx-15/2, cy-15/2)), false, -1, -1)->toResultPoint(); }