summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-02-27 10:41:32 +0100
committerErich Eckner <git@eckner.net>2022-02-27 10:41:32 +0100
commit42f6298d59d178c68648a558cb00ab253a406693 (patch)
tree36c501f8c924d04cd9b76fc0eb4f20abe89f7358
parentc6f5ccecfafa635d89618857bad27e89f15c46c3 (diff)
downloadepost-42f6298d59d178c68648a558cb00ab253a406693.tar.xz
fix off-by-one error
-rw-r--r--epostunit.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/epostunit.pas b/epostunit.pas
index dddafa4..0216d35 100644
--- a/epostunit.pas
+++ b/epostunit.pas
@@ -9984,9 +9984,9 @@ begin
writeln(achsenDateiHandle,c+'Start = '+myFloatToStr(achsen[c,'x']));
writeln(achsenDateiHandle,c+'Stopp = '+myFloatToStr(achsen[c,'y']));
end;
- if breite>=0 then
+ if breite>0 then
writeln(achsenDateiHandle,'xSteps = '+intToStr(breite));
- if hoehe>=0 then
+ if hoehe>0 then
writeln(achsenDateiHandle,'ySteps = '+intToStr(hoehe));
closeFile(achsenDateiHandle);
end;