summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-04 10:39:35 +0200
committerErich Eckner <git@eckner.net>2018-10-04 10:39:35 +0200
commit8751833d9ca894ca1ea4094251ae2ad33c9f0ef8 (patch)
tree80a4cf5077d2a93dccc87fdb103d3f19827b02b1
parentbb43af639986b8f26272c092c6732b683424ae31 (diff)
downloadepost-8751833d9ca894ca1ea4094251ae2ad33c9f0ef8.tar.xz
epostunit.pas: harder check for image size
-rw-r--r--epostunit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/epostunit.pas b/epostunit.pas
index 53a50ca..cf022c7 100644
--- a/epostunit.pas
+++ b/epostunit.pas
@@ -5812,7 +5812,7 @@ begin
Ausschnitt:=tKoordinatenAusschnitt.create(transformationen,xMin,xMax,tMin,tMax);
- if (breite=1) or (hoehe=1) then begin
+ if (breite<=1) or (hoehe<=1) then begin
gibAus('Keine/kaum Bildpunkte innerhalb der festgelegten Grenzen!',3);
aufraeumen;
exit;