]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-side.cc
release: 0.1.22
[lilypond.git] / lily / staff-side.cc
index a58d2f2828ad3bcf84f69873af8368fddc9458ca..eba7d09a13fb852a22c0981e7e0b137439bd4ca0 100644 (file)
@@ -75,8 +75,9 @@ Staff_side::get_position_i() const
   Real inter_f = paper()-> internote_f ();
   if (!inside_staff_b_) 
     {
-      y  = (dir_ > 0 && staff_sym_l_) ? staff_sym_l_->steps_i() + 2: -2; 
+      y  = (staff_sym_l_) ? dir_ * (staff_sym_l_->steps_i() + 2) : -2;  
       y *=inter_f;
+      
       Interval v= support_height();
 
       if (dir_ > 0)