*/
#include <cctype>
+using namespace std;
#include "dot-column.hh"
#include "dots.hh"
#include "translator.icc"
-using std::vector;
-
/*
How does this work?
Moment now = now_mom ();
Moment musiclen = get_event_length (ev, now);
- note_end_mom_ = std::max (note_end_mom_, (now + musiclen));
+ note_end_mom_ = max (note_end_mom_, (now + musiclen));
do_nothing_until_ = Rational (0, 0);
}
Item *note = make_item ("NoteHead", ev->self_scm ());
Pitch *pit = unsmob<Pitch> (ev->get_property ("pitch"));
- int pos = pit->steps ();
+ int pos = pit ? pit->steps () : 0;
SCM c0 = get_property ("middleCPosition");
if (scm_is_number (c0))
pos += scm_to_int (c0);