X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_bspline.h;h=edc00a7cc7d1f9a0016bde53c914fb7826355661;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=bad9e86333e1ab46d2db6c8485808b1cde9f086b;hpb=cee5940bae97612105db8b7e1ffcf513f9d9150c;p=synfig.git diff --git a/ETL/trunk/ETL/_bspline.h b/ETL/trunk/ETL/_bspline.h index bad9e86..edc00a7 100644 --- a/ETL/trunk/ETL/_bspline.h +++ b/ETL/trunk/ETL/_bspline.h @@ -1,7 +1,7 @@ /*! ======================================================================== ** Extended Template and Library ** B-Spline Class Implementation -** $Id: _bspline.h,v 1.1.1.1 2005/01/04 01:31:46 darco Exp $ +** $Id$ ** ** Copyright (c) 2002 Robert B. Quattlebaum Jr. ** @@ -116,7 +116,8 @@ public: t=0; if(t>=_knots.back()) t=_knots.back()-0.0001; - for(k=0;_knots[k]>t || _knots[k+1]<=t;k++); + for(k=0;_knots[k]>t || _knots[k+1]<=t;k++) + ; return k; }