diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-06 18:51:35 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-06 18:51:35 +0000 |
commit | f0177337d12907c84b5bc0c0e0788c109b445a2c (patch) | |
tree | da91ffbf76c8eab541e46bd929f8f00bae50d9ff /libs/surfaces | |
parent | 674ed2430cae5e5d5e50eab854de642c9e4bd4fd (diff) |
Fix up a few mackie control surface exceptions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8729 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/mackie/mackie_port.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaces/mackie/mackie_port.cc b/libs/surfaces/mackie/mackie_port.cc index aa80fc0616..77cce35f43 100644 --- a/libs/surfaces/mackie/mackie_port.cc +++ b/libs/surfaces/mackie/mackie_port.cc @@ -335,7 +335,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count ) { MidiByteArray mba( count, bytes ); ostringstream os; - os << "control for fader" << bytes << " id " << midi_id << " is null"; + os << "Control for fader" << bytes << " id " << midi_id << " is null"; throw MackieControlException( os.str() ); } break; @@ -348,7 +348,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count ) { MidiByteArray mba( count, bytes ); ostringstream os; - os << "control for button " << bytes << " is null"; + os << "Control for button " << mba << " is null"; throw MackieControlException( os.str() ); } break; @@ -360,7 +360,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count ) { MidiByteArray mba( count, bytes ); ostringstream os; - os << "control for rotary " << mba << " is null"; + os << "Control for rotary " << mba << " is null"; throw MackieControlException( os.str() ); } break; @@ -368,7 +368,7 @@ Control & MackiePort::lookup_control( MIDI::byte * bytes, size_t count ) default: MidiByteArray mba( count, bytes ); ostringstream os; - os << "Cannot find control for " << bytes; + os << "Cannot find control for " << mba; throw MackieControlException( os.str() ); } return *control; |