]> git.donarmstrong.com Git - lilypond.git/commitdiff
Use Grob::warning() for error message from shift_region_to_valid().
authorHan-Wen Nienhuys <hanwen@lilypond.org>
Thu, 21 Apr 2011 02:12:15 +0000 (23:12 -0300)
committerHan-Wen Nienhuys <hanwen@lilypond.org>
Thu, 21 Apr 2011 02:12:35 +0000 (23:12 -0300)
lily/beam.cc

index 627ffac0f0f06b4a934ee98c7bbfb994ed4f3f6d..1ae30fb5f83745f373671348062be98800f6dbb4 100644 (file)
@@ -1330,7 +1330,7 @@ Beam::shift_region_to_valid (SCM grob, SCM posns)
   else
     {
       // We are completely screwed.
-      warning (_ ("no viable initial configuration found: may not find good beam slope"));
+      me->warning (_ ("no viable initial configuration found: may not find good beam slope"));
     }
   
   pos = Drul_array<Real> (beam_left_y, (beam_left_y + beam_dy));