]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/dot-formatting-problem.cc
Fix GCC 4.3.0 warnings about parentheses and braces
[lilypond.git] / lily / dot-formatting-problem.cc
index 81dc908d0ae99f29682f9c2fadf32742a625c6ba..cd443a2e6c1876e9c92c83eec2060ec21bfa6bca 100644 (file)
@@ -1,3 +1,12 @@
+/* 
+   dot-formatting-problem.cc -- implement Dot_formatting_problem
+
+
+   file of the GNU LilyPond music typesetter
+   
+   (c) 2007--2009 Han-Wen Nienhuys <hanwen@lilypond.org>
+  
+*/
 
 #include "dot-formatting-problem.hh"
 #include "dot-configuration.hh"
@@ -25,11 +34,11 @@ Dot_formatting_problem::best () const
   return best_;
 }
 
-
-
-Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes, Interval base_x)
+Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes,
+                                               Interval base_x)
   : head_skyline_ (boxes, 0.0, Y_AXIS, RIGHT)
 {
   best_ = 0;
   head_skyline_.set_minimum_height (base_x[RIGHT]);
+  score_ = 1 << 30;
 }