From: dvlierop2 Date: Wed, 26 Nov 2008 20:53:04 +0000 (+0000) Subject: Fix bug #299414: a return statement in unitTangentAt() got lost in rev. 20205! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e027cc2c72e7b43fda63dd7945e619a819447bc1;p=inkscape.git Fix bug #299414: a return statement in unitTangentAt() got lost in rev. 20205! --- diff --git a/src/2geom/curve.h b/src/2geom/curve.h index af02d6edb..08cc2380c 100644 --- a/src/2geom/curve.h +++ b/src/2geom/curve.h @@ -138,7 +138,7 @@ public: Coord length = derivs[deriv_n].length(); if ( ! are_near(length, 0) ) { // length of derivative is non-zero, so return unit vector - derivs[deriv_n] / length; + return derivs[deriv_n] / length; } } return Point (0,0);