]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/skyline.cc
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / skyline.cc
index 8c47df70b8f1cbc079c947b1a0bc0379e5364aab..9da2606edbed49bc5354ec777f7cb02a0099890e 100644 (file)
@@ -166,7 +166,7 @@ Building::conceals (Building const &other, Real x) const
 
   /* their slopes were not equal, so there is an intersection point */
   Real i = intersection_x (other);
-  return (i < x && slope_ > other.slope_)
+  return (i <= x && slope_ > other.slope_)
     || (i > x && slope_ < other.slope_);
 }