]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/accidental-engraver.cc
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / lily / accidental-engraver.cc
index a325a017d6792f0713513054052f889b3b185a5f..c7eb79955a827f3061dce6d32d5c38a823cd8846 100644 (file)
@@ -159,10 +159,10 @@ extract_alteration (SCM alteration_def)
   else if (scm_is_pair (alteration_def))
     return ly_scm2rational (scm_car (alteration_def));
   else if (alteration_def == SCM_BOOL_F)
-    return 0;
+    return Rational (0);
   else
     assert (0);
-  return 0;
+  return Rational (0);
 }
 
 bool