]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/prob.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / prob.cc
index 66829f3b2e470f956c98e13b4da600bf5dc17906..5a1caca15508fe0e6cc0a5ce7ed86da6eba782f3 100644 (file)
@@ -34,6 +34,7 @@ Prob::Prob (Prob const &src)
   immutable_property_alist_ = src.immutable_property_alist_;
   mutable_property_alist_ = SCM_EOL;
   self_scm_ = SCM_EOL;
+  type_ = src.type_;
 
   /* First we smobify_self, then we copy over the stuff.  If we don't,
      stack vars that hold the copy might be optimized away, meaning
@@ -118,7 +119,7 @@ Prob::get_property_alist (bool m) const
   return (m) ? mutable_property_alist_ : immutable_property_alist_;
 }
 
-String
+string
 Prob::name () const
 {
   SCM nm = get_property ("name");