aboutsummaryrefslogtreecommitdiff
path: root/generic/Geo.c
diff options
context:
space:
mode:
authorlecoanet2003-01-22 14:48:11 +0000
committerlecoanet2003-01-22 14:48:11 +0000
commita207b0d617afe5565aeefbc26bbb52afb927aa24 (patch)
tree8f4ff2d90fe9248e89901b573b5eae86480a1abd /generic/Geo.c
parent4dd6701e8658f5fff1abed7cb18fac5ac925279d (diff)
downloadtkzinc-a207b0d617afe5565aeefbc26bbb52afb927aa24.zip
tkzinc-a207b0d617afe5565aeefbc26bbb52afb927aa24.tar.gz
tkzinc-a207b0d617afe5565aeefbc26bbb52afb927aa24.tar.bz2
tkzinc-a207b0d617afe5565aeefbc26bbb52afb927aa24.tar.xz
* (LineToPointDist): Changement des types en double pour corriger
un bug certainement du � un arrondi intempestif.
Diffstat (limited to 'generic/Geo.c')
-rw-r--r--generic/Geo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Geo.c b/generic/Geo.c
index 7af09d8..2c84f08 100644
--- a/generic/Geo.c
+++ b/generic/Geo.c
@@ -1437,7 +1437,7 @@ LineToPointDist(ZnPoint *p1,
ZnPoint *p)
{
double x, y;
- int x_int, y_int;
+ double x_int, y_int;
/*
* First compute the closest point on the line. This is done