13
0

fix reversed arguments to memset when clearing VST plugin name

This commit is contained in:
Paul Davis 2013-11-04 21:31:58 -05:00
parent 7da2689f1c
commit 342237bf9c

View File

@ -486,7 +486,7 @@ string
VSTPlugin::describe_parameter (Evoral::Parameter param)
{
char name[64];
memset (name, sizeof (name), 0);
memset (name, 0, sizeof (name));
/* some VST plugins expect this buffer to be zero-filled */