summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-04-08 16:03:17 +0000
committerjabiertxof <info@marker.es>2016-04-08 16:03:17 +0000
commit90fa52d140c68277789d5c87b86bd7a73969458d (patch)
treebd1991fd6d358e86cfbd8efc861a85a201f62457 /src
parentupdate to trunk (diff)
downloadinkscape-90fa52d140c68277789d5c87b86bd7a73969458d.tar.gz
inkscape-90fa52d140c68277789d5c87b86bd7a73969458d.zip
remove a waring on compile
(bzr r13645.1.126)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 896cf2e69..956395623 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -609,7 +609,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
Geom::Coord rx = radius;
Geom::Coord ry = rx;
if (times[1] != 1) {
- if (times[1] != times[0] || times[1] == times[0] == 1) {
+ if (times[1] != times[0] || (times[1] == 1 && times[0] == 1)) {
if (!knot_curve_1->isDegenerate()) {
tmp_path.append(*knot_curve_1);
}