]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/slur.scm
(overdone_heads): fix stem attachments.
[lilypond.git] / scm / slur.scm
index e51eda250b8e9774550f0690cf48a4bea85ba68f..8a03c141ed74bf4958b95d8d8e839977e9550b78 100644 (file)
    (cons (lambda (slur dir)
           ;; urg, code dup
           (let* ((note-columns (ly:get-grob-property slur 'note-columns))
-                 (col (if (= dir 1) (car note-columns) (car (reverse note-columns))))
+                 (col (car (if (= dir 1) note-columns (reverse note-columns))))
                  (stem (ly:get-grob-property col 'stem)))
+            
             (and stem
-                 (not (= (ly:get-grob-property slur 'direction) 
-                         (ly:get-grob-property stem 'direction))))))  'head)
+                 (not (equal? (ly:get-grob-property slur 'direction) 
+                              (ly:get-grob-property stem 'direction))))))  'head)
 
    ;; (cons (lambda (slur dir) (begin (display "before stem") (newline))#f) #f)