Changed two shorts in int, for calculation of distance between bezier point

and mouse coordinate in selecting routine.
Caused selection not to work in extreme zoom ins.
(Thanks OOPz!)
This commit is contained in:
Ton Roosendaal 2004-05-23 19:13:15 +00:00
parent 7f6b88e389
commit 86899e7a22

@ -1655,8 +1655,8 @@ short findnearest_ipovert(IpoCurve **icu, BezTriple **bezt)
/* return 0 1 2: handlepunt */
EditIpo *ei;
BezTriple *bezt1;
int a, b;
short dist= 100, temp, mval[2], hpoint=0;
int dist= 100, temp, a, b;
short mval[2], hpoint=0;
*icu= 0;
*bezt= 0;