diff options
author | Erich Eckner <git@eckner.net> | 2022-02-27 10:41:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-02-27 10:41:32 +0100 |
commit | 42f6298d59d178c68648a558cb00ab253a406693 (patch) | |
tree | 36c501f8c924d04cd9b76fc0eb4f20abe89f7358 | |
parent | c6f5ccecfafa635d89618857bad27e89f15c46c3 (diff) | |
download | epost-42f6298d59d178c68648a558cb00ab253a406693.tar.xz |
fix off-by-one error
-rw-r--r-- | epostunit.pas | 4 |
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; |