summaryrefslogtreecommitdiffstats
path: root/src/line-geometry.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-31 12:11:30 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-31 12:11:30 +0000
commit00ea3a2ecf217ccd1889b6036054018b6b69105e (patch)
treed611ddc875f766f4e32af29f5ac764037dcd0983 /src/line-geometry.cpp
parentFixed bug in LPE Bspline widget, on apply selected nodes, because a rounding ... (diff)
parentFix Gtkmm 3.8 build issues on systems with Gtk+ 3.10 (diff)
downloadinkscape-00ea3a2ecf217ccd1889b6036054018b6b69105e.tar.gz
inkscape-00ea3a2ecf217ccd1889b6036054018b6b69105e.zip
update to trunk
(bzr r11950.1.319)
Diffstat (limited to 'src/line-geometry.cpp')
-rw-r--r--src/line-geometry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line-geometry.cpp b/src/line-geometry.cpp
index 982762a12..566af8840 100644
--- a/src/line-geometry.cpp
+++ b/src/line-geometry.cpp
@@ -118,7 +118,7 @@ bool lies_in_sector (Geom::Point const &v1, Geom::Point const &v2, Geom::Point c
// FIXME: Can we assume that it's safe to return true if the vectors point in different directions?
return (Geom::dot (v1, v2) < 0);
}
- return (coords.first >= 0 and coords.second >= 0);
+ return (coords.first >= 0 && coords.second >= 0);
}
bool lies_in_quadrangle (Geom::Point const &A, Geom::Point const &B, Geom::Point const &C, Geom::Point const &D, Geom::Point const &pt)