cater for Note translations. e.g. "Ré ♯" UTF-8
This commit is contained in:
parent
8f19aed7eb
commit
78fef4a253
@ -192,7 +192,7 @@ ParameterDescriptor::update_steps()
|
||||
std::string
|
||||
ParameterDescriptor::midi_note_name (const uint8_t b)
|
||||
{
|
||||
char buf[8];
|
||||
char buf[16];
|
||||
if (b > 127) {
|
||||
snprintf(buf, sizeof(buf), "%d", b);
|
||||
return buf;
|
||||
|
Loading…
Reference in New Issue
Block a user