]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.34
authorfred <fred>
Sun, 24 Mar 2002 19:33:08 +0000 (19:33 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:33:08 +0000 (19:33 +0000)
src/stem.cc

index b11386afec05672dfee0ebdf0d3b5bf5cf086d9b..22123356c682a3fda6b912dc36aec5b4ca1c0316 100644 (file)
@@ -88,7 +88,7 @@ Stem::set_default_stemlen()
     int stafftop = 2*staff_center;
     stemlen = STEMLEN  + (maxnote - minnote);
     
-    // uhh... how about non 5-line staffs?     
+    // uhh... how about non 5-line staffs?
     if (maxnote < -2 && dir == 1){
        int t = staff_center - staff_center/2; 
        stemlen = t - minnote +2;
@@ -111,7 +111,7 @@ Stem::set_default_extents()
 
     set_stemend((dir< 0) ? maxnote-stemlen: minnote +stemlen);
     if (dir > 0){      
-       stem_xoffset = paper()->note_width();
+       stem_xoffset = paper()->note_width()-paper()->rule_thickness();
     } else
        stem_xoffset = 0;
 }