]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/modified-font-metric.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / modified-font-metric.cc
index 2256eb9d180f2cf28e3652cf07ca850c0fddab30..d68db92c4b897b6728ee0d37fec25410360a2f6e 100644 (file)
@@ -26,7 +26,10 @@ using namespace std;
 #include "main.hh"
 #include "program-option.hh"
 
-using std::string;
+Preinit_Modified_font_metric::Preinit_Modified_font_metric ()
+{
+  orig_ = 0;
+}
 
 Modified_font_metric::Modified_font_metric (Font_metric *fm,
                                             Real magnification)
@@ -104,6 +107,8 @@ Modified_font_metric::index_to_charcode (vsize i) const
 void
 Modified_font_metric::derived_mark () const
 {
+  if (orig_)
+    scm_gc_mark (orig_->self_scm ());
 }
 
 Stencil