]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script-engraver.cc
release: 1.1.18
[lilypond.git] / lily / script-engraver.cc
index 3cc7914dc39fc98bfa95eeb3f6863c6ae7f74a3f..2012f053ba47bb1f461d0f99f3bab9d86b3dd07f 100644 (file)
@@ -66,12 +66,12 @@ Script_engraver::do_pre_move_processing()
          Text_def * td_l = (Text_def*)script_p->specs_p_;
          if (!td_l->style_str_.length_i ())
            {
-             Scalar style = get_property ("textstyle");
+             Scalar style = get_property ("textstyle", 0);
              if (style.to_bool ())
                td_l->style_str_= style;
            }
          // urg, what if this is already set? in-band signaling...
-         Scalar alignment = get_property ("textalignment");
+         Scalar alignment = get_property ("textalignment", 0);
          if (alignment.isnum_b())
            {
              td_l->align_dir_= (Direction)(int)alignment;