]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / tie.cc
index f6561fa576fb685dd3621110bddb07d1eeb27fe5..3f282071e77fe393bad531df74895ef3a97ef840 100644 (file)
 #include "warn.hh"
 
 
-bool
-Tie::less (Grob *const &s1,
-          Grob *const &s2)
+int
+Tie::compare (Grob *const &s1,
+             Grob *const &s2)
 {
-  return Tie::get_position (s1) < Tie::get_position (s2);
+  return sign (Tie::get_position (s1) - Tie::get_position (s2));
 }
 
 void