summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-03-16 20:03:59 +0000
committerJabiertxof <jtx@jtx>2017-03-16 20:03:59 +0000
commit5997087db8a3bc2ec3b3bb0623f3f66cb81a4521 (patch)
treeb5c50dbc30127c7fd02c5f06f4bc00c47a3d1f9c /src
parentRemove some warnings (diff)
downloadinkscape-5997087db8a3bc2ec3b3bb0623f3f66cb81a4521.tar.gz
inkscape-5997087db8a3bc2ec3b3bb0623f3f66cb81a4521.zip
Remove some warnings
(bzr r13645.1.172)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/satellitesarray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/parameter/satellitesarray.cpp b/src/live_effects/parameter/satellitesarray.cpp
index 8cf517852..c7bc7f026 100644
--- a/src/live_effects/parameter/satellitesarray.cpp
+++ b/src/live_effects/parameter/satellitesarray.cpp
@@ -378,7 +378,7 @@ Geom::Point FilletChamferKnotHolderEntity::knot_get() const
Satellite satellite = _pparam->_vector[path_index][curve_index];
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
if (satellite.hidden ||
- !pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ (!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return Geom::Point(Geom::infinity(), Geom::infinity());
@@ -434,7 +434,7 @@ void FilletChamferKnotHolderEntity::knot_click(guint state)
return;
}
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
- if (!pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ if ((!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return;
@@ -532,7 +532,7 @@ void FilletChamferKnotHolderEntity::knot_set_offset(Satellite satellite)
}
Geom::PathVector pathv = _pparam->_last_pathvector_satellites->getPathVector();
if (satellite.hidden ||
- !pathv[path_index].closed() && curve_index == 0 ||//ignore first satellites on open paths
+ (!pathv[path_index].closed() && curve_index == 0) ||//ignore first satellites on open paths
pathv[path_index].size() == curve_index) //ignore last satellite in open paths with fillet chamfer effect
{
return;