]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-metrics.cc
* buildscripts/analyse-cxx-log.py: new file. Read compile log to
[lilypond.git] / lily / text-metrics.cc
index 84f4210cabde0ef5a395c168166dba97fd992156..89dbfbd1cbfe34468206384b15fd1a7b603e5439 100644 (file)
@@ -27,7 +27,7 @@ lookup_tex_text_dimension (Font_metric *font, SCM text)
   if (text_dimension_hash_tab)
     {
       scm_hash_ref (text_dimension_hash_tab,
-                   scm_makfrom0str (key_str.to_str0 ()),
+                   scm_makfrom0str (key_str.c_str ()),
                    SCM_BOOL_F);
     }
   if (scm_is_pair (val))
@@ -78,7 +78,7 @@ try_load_text_metrics (String basename)
       String contents (gulp_file_to_string (path, true, -1));
       contents = "(quote (" + contents + "))";
 
-      SCM lst = scm_c_eval_string (contents.to_str0 ());
+      SCM lst = scm_c_eval_string (contents.c_str ());
       ly_load_text_dimensions (lst);
     }
 }