]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/semi-tie.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / semi-tie.cc
index fbc98f20aa1db6eb6ce1c1a094c8cb4a44bc06bc..bddae0e2b2330ae7024803445b8609e0f2b7dad0 100644 (file)
@@ -70,10 +70,10 @@ Semi_tie::get_position (Grob *me)
   return (int) rint (Staff_symbol_referencer::get_position (h));
 }
 
-bool
-Semi_tie::less (Grob *const &s1,
-               Grob *const &s2)
+int
+Semi_tie::compare (Grob *const &s1,
+                            Grob *const &s2)
 {
-  return get_position (s1) < get_position (s2);
+  return sign (get_position (s1) - get_position (s2));
 }