diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-04 02:04:05 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-04 02:04:05 +0000 |
commit | 6ddcd8f0b9a8c27cdc4b96966c6746a1a8c2dc15 (patch) | |
tree | 77c3718ab9d0f62dd986eced541ad5c08fdf5df8 /libs/surfaces | |
parent | b1af21dae72e81e4168a2a9bdfa4f468db081873 (diff) |
add a way to see (most of) the waf config used to build ardour at run time (from the about dialog). buttons still need reordering there
git-svn-id: svn://localhost/ardour2/branches/3.0@6439 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/generic_midi/generic_midi_control_protocol.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/generic_midi/generic_midi_control_protocol.cc b/libs/surfaces/generic_midi/generic_midi_control_protocol.cc index 51c1b119eb..c9cc8c76cd 100644 --- a/libs/surfaces/generic_midi/generic_midi_control_protocol.cc +++ b/libs/surfaces/generic_midi/generic_midi_control_protocol.cc @@ -308,7 +308,7 @@ GenericMidiControlProtocol::start_learning (Controllable* c) MIDIControllable* mc = 0; for (MIDIControllables::iterator i = controllables.begin(); i != controllables.end(); ++i) { - if ((*i)->get_controllable()->id() == c->id()) { + if ((*i)->get_controllable() && ((*i)->get_controllable()->id() == c->id())) { mc = *i; break; } |