13
0

cater for Note translations. e.g. "Ré ♯" UTF-8

This commit is contained in:
Robin Gareus 2016-10-11 14:09:54 +02:00
parent 8f19aed7eb
commit 78fef4a253

View File

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