Fix typo in last commit. 3.0-beta1
authorCarl Hetherington <carl@carlh.net>
Tue, 15 Nov 2011 14:32:54 +0000 (14:32 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 15 Nov 2011 14:32:54 +0000 (14:32 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10615 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/midi_region_view.cc

index 9a6e5a498f657bd788cbd27434cebd4464467067..11833656d874b236248ec2300519dafeb0690ec8 100644 (file)
@@ -3302,7 +3302,7 @@ MidiRegionView::goto_next_note (bool add_to_selection)
 
        /* use the first one */
 
-       if (!_event.empty() && (channel_mask & (1 << _events.front()->note()->channel ()))) {
+       if (!_events.empty() && (channel_mask & (1 << _events.front()->note()->channel ()))) {
                unique_select (_events.front());
        }
 }