]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
release: 1.3.48
[lilypond.git] / lily / parser.yy
index e5a7583522e26fb30d825678e32530e25f757cd2..3c0320699b22582313824df0bbc84026f61fe1d8 100644 (file)
@@ -45,7 +45,7 @@
 bool
 is_duration_b (int t)
 {
-  return t == 1 << intlog2(t);
+  return t && t == 1 << intlog2(t);
 }