]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix a thinko that broke the contract of STL sort.
authorJoe Neeman <joeneeman@gmail.com>
Sun, 14 Jun 2009 14:07:24 +0000 (17:07 +0300)
committerJoe Neeman <joeneeman@gmail.com>
Fri, 24 Jul 2009 20:06:30 +0000 (13:06 -0700)
flower/include/interval.hh

index 27e221af8c7d61a3d937a7971941adec7fb2364c..edb76deb1a7ae729b2267cd4ee6a80998806e110 100644 (file)
@@ -121,7 +121,7 @@ struct Interval_t : public Drul_array<T>
 
   static bool left_less (Interval_t<T> const &a, Interval_t<T> const &b)
   {
-    return a[LEFT] < b[RIGHT];
+    return a[LEFT] < b[LEFT];
   }
 };