]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
use glyph indexing for glyph name .notdef
[lilypond.git] / lily / parse-scm.cc
index 834fac644955cfa01c1d9115eca9569d350ceeae..75f161540dfd0e705520c4fabf3f80b82d7c7b26 100644 (file)
@@ -11,6 +11,7 @@
 #include <cstdio>
 using namespace std;
 
+#include "international.hh"
 #include "main.hh"
 #include "paper-book.hh"
 #include "source-file.hh"
@@ -25,7 +26,7 @@ internal_ly_parse_scm (Parse_start *ps)
   Source_file *sf = ps->start_location_.get_source_file ();
   SCM port = sf->get_port ();
 
-  int off = ps->start_location_.start () - sf->to_str0 ();
+  int off = ps->start_location_.start () - sf->c_str ();
 
   scm_seek (port, scm_long2num (off), scm_long2num (SEEK_SET));
   SCM from = scm_ftell (port);