Permalink
Browse files

Changed push to array reference to more portable straight array

  • Loading branch information...
1 parent 852a8cd commit 787f87b4a7731395c4bef9414e7da21177009c03 @pedros pedros committed Jul 14, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 smtd
View
4 smtd
@@ -411,7 +411,9 @@ sub to_format_1 {
for my $track (@{$copy->tracks_r}) {
while (my $event = shift @{$track->events_r}) {
- push (($event_dispatch{$event->[0]} || \@track_1_events), $event);
+ my $track_n_events
+ = $event_dispatch{$event->[0]} || \@track_1_events;
+ push @$track_n_events, $event;
}
}

0 comments on commit 787f87b

Please sign in to comment.