]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script-engraver.cc
release: 1.1.1
[lilypond.git] / lily / script-engraver.cc
index f27577e44b17e5228dfb110f148fb5a48021240c..c68a165d11eaaa64e775fa4ad3fe5fb8559de99f 100644 (file)
@@ -61,7 +61,7 @@ Script_engraver::do_pre_move_processing()
       if (!script_p->specs_p_->inside_b())
        script_p->add_support (s_l);
 
-      if (script_p->specs_p_->is_type_b (Text_def::static_name ()))
+      if (dynamic_cast<Text_def *> (script_p->specs_p_)) // UGH
        {
          Text_def * td_l = (Text_def*)script_p->specs_p_;
          Scalar style = get_property ("textstyle");