projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027caa4
)
slight improvement of MIDI program names in verbose cursor while scrolling
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 22 May 2016 12:23:39 +0000
(08:23 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:44 +0000
(15:30 -0400)
gtk2_ardour/midi_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_region_view.cc
b/gtk2_ardour/midi_region_view.cc
index 324ca0eaf6201d289ac562265786fb9c10b3c7c4..1e20a78fc1a10146c553555076a9f32fbf0be15e 100644
(file)
--- a/
gtk2_ardour/midi_region_view.cc
+++ b/
gtk2_ardour/midi_region_view.cc
@@
-3331,9
+3331,8
@@
void
MidiRegionView::patch_entered (PatchChange* p)
{
ostringstream s;
- /* XXX should get patch name if we can */
s << _("Bank ") << (p->patch()->bank() + MIDI_BP_ZERO) << '\n'
- <<
_("Program ") << ((int) p->patch()->program()) + MIDI_BP_ZERO
<< '\n'
+ <<
instrument_info().get_patch_name_without (p->patch()->bank(), p->patch()->program(), p->patch()->channel())
<< '\n'
<< _("Channel ") << ((int) p->patch()->channel() + 1);
show_verbose_cursor (s.str(), 10, 20);
p->item().grab_focus();