summaryrefslogtreecommitdiff
path: root/simpleprint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'simpleprint.cc')
-rw-r--r--simpleprint.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/simpleprint.cc b/simpleprint.cc
index b8f02c5798..b069978dce 100644
--- a/simpleprint.cc
+++ b/simpleprint.cc
@@ -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)
{