summaryrefslogtreecommitdiffstats
path: root/src/livarot/PathOutline.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-11-15 21:45:55 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-11-15 21:45:55 +0000
commitec2f5449d635a301b82c84d5f1a031fef62b34af (patch)
tree70be27a769645e9733b50192121ea4e577cc49fc /src/livarot/PathOutline.cpp
parentUpdate to trunk (diff)
parentfix typo in rev 12797 (diff)
downloadinkscape-ec2f5449d635a301b82c84d5f1a031fef62b34af.tar.gz
inkscape-ec2f5449d635a301b82c84d5f1a031fef62b34af.zip
Update to trunk
(bzr r11950.1.200)
Diffstat (limited to 'src/livarot/PathOutline.cpp')
-rw-r--r--src/livarot/PathOutline.cpp2
1 files changed, 1 insertions, 1 deletions
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.