From 7efa1b0a4f2d46fd19b2ff84d9c787cb90c50ee3 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Mon, 31 Mar 2014 00:06:27 +0200 Subject: Replaced one more operator. (bzr r13238) --- src/line-geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/line-geometry.cpp') 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) -- cgit v1.2.3