if ($ARGV [0]) {
$infile = $ARGV[0];
}
- if (( ! -f $infile) && (! $infile =~ /\\.ly$/s ) ){
+ if (!(-f $infile) && !($infile =~ /\.ly$/s)) {
$infile .= ".ly";
-
-
}
if ($opt_edit && $infile ne "-") {
$opt_edit = 1;
MAJOR_VERSION = 0
MINOR_VERSION = 1
-PATCH_LEVEL = 17
+PATCH_LEVEL = 18
# use to send patches, always empty for released version:
# include separator: ".postfix", "-pl" makes rpm barf
// junk dynamics
(void)aftertouch_i;
+ assert (col_l);
+
for (PCursor<Mudela_note*> i (open_note_l_list_.top ()); i.ok (); i++)
{
if ((i->pitch_i_ == pitch_i) && (i->channel_i_ == channel_i))
Midi_track_parser::note_end_all (Mudela_column* col_l)
{
// find
- for (PCursor<Mudela_note*> i (open_note_l_list_.top ()); i.ok (); i++)
+ assert (col_l);
+ for (PCursor<Mudela_note*> i (open_note_l_list_.top ()); i.ok (); i++)
{
i->end_column_l_ = col_l;
i.remove_p();
// ugh
- if (!i.ok())
+ if (!i.ok())
break;
}
}
if (!eot())
return 0;
+ // vangnet
+ note_end_all (col_l);
+
Mudela_staff* p = mudela_staff_p_;
mudela_staff_p_ = 0;
return p;
{
next_byte ();
unsigned useconds_per_4_u = get_u (3);
- // $$ = new Mudela_tempo ( ($2 << 16) + ($3 << 8) + $4);
+ // $$ = new Mudela_tempo ( ($2 << 16) + ($3 << 8) + $4);
// LOGOUT (DEBUG_ver) << $$->str() << endl;
Mudela_tempo* p = new Mudela_tempo ( useconds_per_4_u );
item_p = p;