summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-27 11:45:44 +0200
committerErich Eckner <git@eckner.net>2019-09-27 11:45:44 +0200
commit8b52419692c71d7853ddf78964976a340db8f3d1 (patch)
tree1c557ccb67dc0fd69f9e3c68f8b00375ddcfc466
parent5bd9b12d82526940b988a55f7a1dda4591685a29 (diff)
downloadepost-8b52419692c71d7853ddf78964976a340db8f3d1.tar.xz
epostunit.pas: tKontur.erzeugeAlsGerade: ein Punkt mehr
-rw-r--r--epostunit.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/epostunit.pas b/epostunit.pas
index 3247830..52f0d12 100644
--- a/epostunit.pas
+++ b/epostunit.pas
@@ -8971,9 +8971,9 @@ begin
end;
r:=bis-von;
if abs(r['x']*dT) > abs(r['y']*dX) then // mehr Schritte in x-Richtung
- setLength(orte,abs(round(r['x']/dX)))
+ setLength(orte,abs(round(r['x']/dX))+1)
else
- setLength(orte,abs(round(r['y']/dT)));
+ setLength(orte,abs(round(r['y']/dT))+1);
for i:=0 to length(orte)-1 do
orte[i]:=
von +