]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tfm.cc
* lily/include/lily-guile.hh: many new ly_ functions. Thanks to
[lilypond.git] / lily / tfm.cc
index f5cb273494ebd6e9a4bdaa3258417c0bb5213ac2..3b06ed338ceb984dc6e28626da9d1f7a65d52322 100644 (file)
@@ -128,9 +128,9 @@ Tex_font_metric::name_to_index (String s) const
   SCM sym = ly_symbol2scm (s.to_str0 ());
 
   SCM idx = scm_hash_ref (encoding_table_, sym, SCM_BOOL_F);
-  if (gh_char_p (idx))
+  if (ly_char_p (idx))
     {
-      return (unsigned char) gh_scm2char (idx);
+      return (unsigned char) ly_scm2char (idx);
     }
   else
     return -1;