From: Han-Wen Nienhuys Date: Tue, 23 Apr 2002 13:19:00 +0000 (+0000) Subject: (acknowledge_grob): X-Git-Tag: release/1.5.54~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=32b0b22010eb2c1954e2af004958d79617a4b9a7;p=lilypond.git (acknowledge_grob): compare #'glyph as strings. --- diff --git a/lily/system-start-delimiter-engraver.cc b/lily/system-start-delimiter-engraver.cc index 382ca4694b..2f7cff9128 100644 --- a/lily/system-start-delimiter-engraver.cc +++ b/lily/system-start-delimiter-engraver.cc @@ -43,17 +43,17 @@ System_start_delimiter_engraver::acknowledge_grob (Grob_info inf) } else if (System_start_delimiter::has_interface (inf.grob_l_)) { - SCM gl = scm_string_to_symbol (inf.grob_l_->get_grob_property ("glyph")); - SCM my_gl = scm_string_to_symbol (delim_->get_grob_property ("glyph")); + SCM gl = inf.grob_l_->get_grob_property ("glyph"); + SCM my_gl = delim_->get_grob_property ("glyph"); /* UGH UGH */ - if (gh_string_p (gl) && gh_equal_p (gl, ly_symbol2scm ("brace")) - && gh_string_p (my_gl) && gh_equal_p (my_gl, ly_symbol2scm ("bracket"))) + if (gh_string_p (gl) && gh_equal_p (gl, gh_str02scm ("brace")) + && gh_string_p (my_gl) && gh_equal_p (my_gl, gh_str02scm ("bracket"))) inf.grob_l_->translate_axis (-0.8, X_AXIS); // ugh - else if (gh_string_p (gl) && gh_equal_p (gl, ly_symbol2scm ("bracket")) - && gh_string_p (my_gl) && gh_equal_p (my_gl, ly_symbol2scm ("bracket"))) + else if (gh_string_p (gl) && gh_equal_p (gl, gh_str02scm ("bracket")) + && gh_string_p (my_gl) && gh_equal_p (my_gl, gh_str02scm ("bracket"))) { inf.grob_l_->translate_axis ( -0.8, X_AXIS); // ugh inf.grob_l_->set_grob_property ("arch-height",