Commit b5ab0c04 authored by Hanspeter Portner's avatar Hanspeter Portner

fix midi_forge bug from last commit.

parent 57c4f6a3
......@@ -409,9 +409,13 @@ osc_forge_message_varlist(osc_forge_t *oforge, LV2_Atom_Forge *forge,
return 0;
break;
case 'm':
if(!(ref = osc_forge_midi(oforge, forge, va_arg(args, const uint8_t *))))
{
int32_t size = va_arg(args, int32_t);
const uint8_t *m = va_arg(args, const uint8_t *);
if(!(ref = osc_forge_midi(oforge, forge, size, m)))
return 0;
break;
}
case 'T':
if(!(ref = osc_forge_true(oforge, forge)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment