]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/musical-request.cc
(open_request_parens): add input locations to
[lilypond.git] / lily / musical-request.cc
index 147fce3fa2cbce1143d66df4cda8d34a3a8bc1ae..28aee7f944b917a45f9a7ebe21b922c1c0acf26d 100644 (file)
@@ -35,11 +35,13 @@ Moment
 Rhythmic_req::length_mom () const
 {
   Duration *d = unsmob_duration (get_mus_property ("duration"));
-  if (!d){
-    Moment m ;
-    programming_error("Rhythmic_req has no duration");
-    return m;
-  }
+  if (!d)
+    {
+      Moment m ;
+      programming_error("Rhythmic_req has no duration");
+      return m;
+    }
+  
   return d->length_mom ();
 }