]> git.donarmstrong.com Git - lilypond.git/commitdiff
init score_ in ctor
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 20 May 2007 19:50:44 +0000 (16:50 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 20 May 2007 19:50:44 +0000 (16:50 -0300)
lily/dot-formatting-problem.cc

index 81dc908d0ae99f29682f9c2fadf32742a625c6ba..cc646e71f04210bbac124b5d9df652fad854652b 100644 (file)
@@ -32,4 +32,5 @@ Dot_formatting_problem::Dot_formatting_problem (vector<Box> const &boxes, Interv
 {
   best_ = 0;
   head_skyline_.set_minimum_height (base_x[RIGHT]);
+  score_ = 1 << 30;
 }