]> git.donarmstrong.com Git - lilypond.git/commitdiff
(acknowledge_grob):
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 23 Apr 2002 13:19:00 +0000 (13:19 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Tue, 23 Apr 2002 13:19:00 +0000 (13:19 +0000)
compare #'glyph as strings.

lily/system-start-delimiter-engraver.cc

index 382ca4694bcd66f10f64f9cccc75bfefc8d44814..2f7cff912882984e3a2067ded6cec2c6080c30c8 100644 (file)
@@ -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",