13
0

slight improvement of MIDI program names in verbose cursor while scrolling

This commit is contained in:
Paul Davis 2016-05-22 08:23:39 -04:00
parent 027caa4207
commit 4653e301c8

View File

@ -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();