]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-spacing-result.cc
Imported Upstream version 2.16.0
[lilypond.git] / lily / page-spacing-result.cc
index 827dbd44444fca9e450f58bd1820b53bda917499..9d545e33e8a41b2d40a2f7510ad6fd2671507c05 100644 (file)
@@ -1,8 +1,8 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2007--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
-  
+  Copyright (C) 2007--2012 Han-Wen Nienhuys <hanwen@lilypond.org>
+
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ Page_spacing_result::Page_spacing_result ()
 vsize
 Page_spacing_result::page_count () const
 {
-  return systems_per_page_.size();
+  return systems_per_page_.size ();
 }
 
 Real
@@ -48,8 +48,8 @@ Page_spacing_result::average_force () const
 void
 Page_spacing_result::print () const
 {
-  printf ("penalty %lf, demerits %lf\n" , penalty_, demerits_);
+  printf ("penalty %lf, demerits %lf\n", penalty_, demerits_);
   for (vsize i = 0; i < page_count (); i++)
     printf (" %d:  #sys=%d, force=%lf\n", int (i), int (systems_per_page_[i]),
-           force_[i]);
+            force_[i]);
 }