From 9320287efc10036a00546707b986a85d5998867b Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Thu, 14 Nov 2013 18:41:32 -0500 Subject: fix typo in rev 12797 (bzr r12816) --- src/livarot/PathOutline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/livarot/PathOutline.cpp') diff --git a/src/livarot/PathOutline.cpp b/src/livarot/PathOutline.cpp index f15da4af7..211ee31e2 100644 --- a/src/livarot/PathOutline.cpp +++ b/src/livarot/PathOutline.cpp @@ -1183,7 +1183,7 @@ Path::OutlineJoin (Path * dest, Geom::Point pos, Geom::Point stNor, Geom::Point const double angSi = cross (enNor,stNor); const double angCo = dot (stNor, enNor); - if (fabs(angSi < .0000001) && angCo > 0) { // The join is straight -> nothing to do. + if ((fabs(angSi) < .0000001) && angCo > 0) { // The join is straight -> nothing to do. } else { if ((angSi > 0 && width >= 0) || (angSi < 0 && width < 0)) { // This is an inside join -> join is independent of chosen JoinType. -- cgit v1.2.3