From 28b12851e01e3a29883d5fb56a001b99094a71bd Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Mon, 12 Apr 2010 11:00:43 +0200 Subject: [PATCH] Changed Handbook URL again + DTM cleanup. --- Projects/SAMufasaGUI/testunit.pas | 2 +- Units/MMLCore/dtmutil.pas | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Projects/SAMufasaGUI/testunit.pas b/Projects/SAMufasaGUI/testunit.pas index 78476a6..a0ad4cc 100644 --- a/Projects/SAMufasaGUI/testunit.pas +++ b/Projects/SAMufasaGUI/testunit.pas @@ -1868,7 +1868,7 @@ end; procedure TForm1.MenuItemHandbookClick(Sender: TObject); begin - OpenURL('http://wizzup.org/simba/doc/ps_handbook/'); + OpenURL('http://wizzup.org/static/simba/doc/ps_handbook/'); end; procedure TForm1.MenuItemColourHistoryClick(Sender: TObject); diff --git a/Units/MMLCore/dtmutil.pas b/Units/MMLCore/dtmutil.pas index 787256f..4946162 100644 --- a/Units/MMLCore/dtmutil.pas +++ b/Units/MMLCore/dtmutil.pas @@ -218,8 +218,9 @@ procedure NormalizeDTM(var dtm: pdtm); var i:integer; begin - if dtm.p[0] = Point(0,0) then //Already normalized - exit; + // we don't need this check really... + {if dtm.p[0] = Point(0,0) then //Already normalized + exit;} for i := 1 to dtm.l - 1 do dtm.p[i] := dtm.p[i] - dtm.p[0]; dtm.p[0] := dtm.p[0] - dtm.p[0]; //Point(0,0);