]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/col-info.cc
release: 0.1.11
[lilypond.git] / lily / col-info.cc
index e05498f0e15c489718c901b3c25d72ca4f33237d..086b7c7e3e9492a9db256872c6f4ab931755a695 100644 (file)
@@ -16,20 +16,22 @@ Colinfo::print() const
 #ifndef NPRINT
   DOUT << "column { ";
   if (fixed())
-       DOUT << "fixed at " << fixed_position()<<", ";
+    DOUT << "fixed at " << fixed_position()<<", ";
   assert (pcol_l_);
   DOUT << "[" << minleft() << ", " << minright () << "]";
   DOUT <<"}\n";
 #endif
 }
 
-Colinfo::Colinfo (PCol *col_l, Real const *fixed_C)
+Colinfo::Colinfo (Paper_column *col_l, Real const *fixed_C)
 {
   if (fixed_C)
-       fixpos_p_.set_l (fixed_C);
+    fixpos_p_.set_l (fixed_C);
   ugh_b_ = false;
   pcol_l_ = col_l;
   width = pcol_l_->width();
+  if (width.empty_b())
+    width = Interval(0,0);
 }