]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spring-smob.cc
2003 -> 2004
[lilypond.git] / lily / spring-smob.cc
index 3ab9618ef068ef478ea6a89fd2a05f77afdfc46a..bab14e841859a4c6488d7ac31519c412db26dbac 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -13,8 +13,8 @@
 
 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("#<spring smob d= %f>", ss->distance_f_).ch_C(), p);
+  scm_puts (_f("#<spring smob d= %f>", ss->distance_).to_str0 (), p);
   return 1;
 }