]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/align-interface.cc
* Ignore test failures on non-i386/amd64 architectures (Closes:
[lilypond.git] / lily / align-interface.cc
index 7f7b9c3cf645a9eb8df727129309f1039a29335d..216323644f62dba718dc1c9c8b6139df65149265 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2000--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "align-interface.hh"
@@ -224,8 +224,10 @@ Align_interface::get_extents_aligned_translates (Grob *me,
        }
     }
 
+  // So far, we've computed the translates for all the non-empty elements.
+  // Here, we set the translates for the empty elements: an empty element
+  // gets the same translation as the last non-empty element before it.
   vector<Real> all_translates;
-
   if (!translates.empty ())
     {
       Real w = translates[0];