]> git.donarmstrong.com Git - lilypond.git/blobdiff - simpleprint.cc
release: 0.0.8
[lilypond.git] / simpleprint.cc
index b8f02c57987a19dc5fd450a41d1a068e259b7976..b069978dce169219b494f5628fe56a12f0f8bddf 100644 (file)
@@ -9,12 +9,10 @@
 Molecule *
 Simple_column::create_req_mol(Request *rq)
 {
+    assert(rq->rest());
     Symbol s;
     int dots=0;
-
-    if (rq->note())
-       s = staff_->paper()->lookup_->ball(rq->note()->balltype);
-    else if (rq->rest())
+    if (rq->rest())
        s = staff_->paper()->lookup_->rest(rq->rest()->balltype);
 
     if (rq->rhythmic())
@@ -30,6 +28,7 @@ Simple_column::create_req_mol(Request *rq)
     }
     return m;
 }
+
 Molecule *
 Simple_column::create_command_mol(Command *com)
 {