]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tuplet-bracket.cc
* lily/lily-guile.cc (robust_scm2double): new function. Use throughout.
[lilypond.git] / lily / tuplet-bracket.cc
index a499f296907b2d98681ef5488be1ea74f403f83d..2c9705d0b4e83c55c2206752e948bb0ba3e9740c 100644 (file)
@@ -117,8 +117,8 @@ Tuplet_bracket::brew_molecule (SCM smob)
       after_line_breaking (smob);
   }
   
-  Real ly = gh_scm2double (me->get_grob_property ("left-position"));
-  Real ry = gh_scm2double (me->get_grob_property ("right-position"));  
+  Real ly = robust_scm2double (me->get_grob_property ("left-position"), 0);
+  Real ry = robust_scm2double (me->get_grob_property ("right-position"), 0);  
   
   bool equally_long = false;
   Grob * par_beam = parallel_beam (me, columns, &equally_long);