diff --git a/trunk/Projects/SAMufasaGUI/testunit.pas b/trunk/Projects/SAMufasaGUI/testunit.pas index 77172eb..34ba748 100644 --- a/trunk/Projects/SAMufasaGUI/testunit.pas +++ b/trunk/Projects/SAMufasaGUI/testunit.pas @@ -44,7 +44,7 @@ uses ColorBox , about, framefunctionlist, ocr, updateform, simbasettings; const - SimbaVersion = 565; + SimbaVersion = 569; type diff --git a/trunk/Units/MMLCore/finder.pas b/trunk/Units/MMLCore/finder.pas index 8dedcc4..6b30baa 100644 --- a/trunk/Units/MMLCore/finder.pas +++ b/trunk/Units/MMLCore/finder.pas @@ -2140,11 +2140,11 @@ begin ColorToRGB(_dtm.c[i],clR[i],clG[i],clB[i]); //Compiler hints - SetLength(hh,dtm.l); - SetLength(ss,dtm.l); - SetLength(ll,dtm.l); - for i := 0 to DTM.l - 1 do - ColorToHSL(dtm.c[i],hh[i],ss[i],ll[i]); + SetLength(hh,_dtm.l); + SetLength(ss,_dtm.l); + SetLength(ll,_dtm.l); + for i := 0 to _DTM.l - 1 do + ColorToHSL(_dtm.c[i],hh[i],ss[i],ll[i]); GetToleranceSpeed2Modifiers(hMod, sMod); ccts := CTS;