X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fspring-smob.cc;h=4b90ae31e0752adc40a10a4dc83d7e5b9790f968;hb=4c8187e65dd9708d7733692842acc696da121bf1;hp=b00bd9df12ca4c12c0cd62ce2ddd4982a5814969;hpb=ce521e79fd7669b45c8c1132e4b5693a03b5d90a;p=lilypond.git diff --git a/lily/spring-smob.cc b/lily/spring-smob.cc index b00bd9df12..4b90ae31e0 100644 --- a/lily/spring-smob.cc +++ b/lily/spring-smob.cc @@ -3,18 +3,18 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2002 Han-Wen Nienhuys + (c) 1999--2003 Han-Wen Nienhuys */ #include "spring.hh" -#include "debug.hh" +#include "warn.hh" #include "ly-smobs.icc" Spring_smob::Spring_smob() { - distance_f_ =0.; - strength_f_ =1.0; + distance_ =0.; + strength_ =1.0; expand_only_b_ = false; other_ = 0; } @@ -29,7 +29,7 @@ int Spring_smob::print_smob (SCM s, SCM p, scm_print_state *) { Spring_smob *ss = unsmob_spring (s); - scm_puts (_f("#", ss->distance_f_).ch_C(), p); + scm_puts (_f("#", ss->distance_).to_str0 (), p); return 1; }