]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/align-interface.cc
* lily/breathing-sign.cc (offset_callback): idem.
[lilypond.git] / lily / align-interface.cc
index 410344dae2487a58065812212e920e9672820f5f..afe470251ccac043c57940e159483a4be3de383c 100644 (file)
@@ -93,7 +93,7 @@ Align_interface::align_to_fixed_distance (Grob *me, Axis a)
 
   vector<Grob*> elems (elem_source); // writable..
 
-  Real where_f = 0;
+  Real where = 0;
 
   Interval v;
   v.set_empty ();
@@ -118,9 +118,9 @@ Align_interface::align_to_fixed_distance (Grob *me, Axis a)
 
   for (vsize j = 0; j < elems.size (); j++)
     {
-      where_f += stacking_dir * dy;
-      translates.push_back (where_f);
-      v.unite (Interval (where_f, where_f));
+      where += stacking_dir * dy;
+      translates.push_back (where);
+      v.unite (Interval (where, where));
     }
 
   /*