From 15024f16d7ee76de1934ec46d7754f2e6f498a9d Mon Sep 17 00:00:00 2001 From: Raymond Date: Sun, 25 Apr 2010 18:53:33 +0200 Subject: [PATCH] Fixed small, but rather serious bug. --- Units/MMLCore/finder.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Units/MMLCore/finder.pas b/Units/MMLCore/finder.pas index c898dbd..f20cb1e 100644 --- a/Units/MMLCore/finder.pas +++ b/Units/MMLCore/finder.pas @@ -2024,8 +2024,8 @@ begin MA.x2 := MA.x2 - x1; MA.y2 := MA.y2 - y1; - MaxX := y2-y1; - MaxY := x2-x1; + MaxX := x2-x1; + MaxY := y2-y1; //MA is now fixed to the new (0,0) box... for yy := MA.y1 to MA.y2 do //Coord of the mainpoint in the search area