]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spring-smob.cc
Web-ja: update introduction
[lilypond.git] / lily / spring-smob.cc
index a389df2efdb5921a60b56814a7a2c2f210bb495f..19a5eef4c5ff87ffc4fc18a84f2f0af14fce3286 100644 (file)
@@ -26,7 +26,8 @@
 SCM
 Spring::equal_p (SCM a, SCM b)
 {
-  return a == b ? SCM_BOOL_T : SCM_BOOL_F;
+  // TODO SCM: This could be made simpler.
+  return scm_is_eq (a, b) ? SCM_BOOL_T : SCM_BOOL_F;
 }
 
 LY_DEFINE (ly_make_spring, "ly:make-spring",