]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/moment-scheme.cc
* flower
[lilypond.git] / lily / moment-scheme.cc
index a9ba114ed8c0b9b9050baeaa386163bd7a219dda..865431c6da63b9f84bfd7135c324c1355d31eaea 100644 (file)
@@ -1,4 +1,4 @@
-/*   
+/*
   moment.cc -- implement Moment bindings
 
   source file of the GNU LilyPond music typesetter
@@ -8,7 +8,6 @@
 
 #include "moment.hh"
 
-
 /* TODO: add optional factor argument. */
 LY_DEFINE (ly_make_moment, "ly:make-moment",
           2, 2, 0, (SCM n, SCM d, SCM gn, SCM gd),
@@ -83,7 +82,7 @@ LY_DEFINE (ly_moment_main_numerator, "ly:moment-main-numerator",
   Moment *ma = unsmob_moment (mom);
   SCM_ASSERT_TYPE (ma, mom, SCM_ARG1, __FUNCTION__, "moment");
 
-  return scm_from_int (ma->main_part_.numerator ()); 
+  return scm_from_int (ma->main_part_.numerator ());
 }
 
 LY_DEFINE (ly_moment_main_denominator, "ly:moment-main-denominator",
@@ -93,7 +92,7 @@ LY_DEFINE (ly_moment_main_denominator, "ly:moment-main-denominator",
   Moment *ma = unsmob_moment (mom);
   SCM_ASSERT_TYPE (ma, mom, SCM_ARG1, __FUNCTION__, "moment");
 
-  return scm_from_int (ma->main_part_.denominator ()); 
+  return scm_from_int (ma->main_part_.denominator ());
 }
 
 LY_DEFINE (ly_moment_less_p, "ly:moment<?",
@@ -104,6 +103,6 @@ LY_DEFINE (ly_moment_less_p, "ly:moment<?",
   Moment *mb = unsmob_moment (b);
   SCM_ASSERT_TYPE (ma, a, SCM_ARG1, __FUNCTION__, "moment");
   SCM_ASSERT_TYPE (mb, b, SCM_ARG2, __FUNCTION__, "moment");
-  return ly_bool2scm (*ma <  *mb);
+  return ly_bool2scm (*ma < *mb);
 }