...better safe than sorry

This commit is contained in:
Connor Olding 2015-12-10 11:36:08 -08:00
parent 4199bfa7dc
commit d3a3d69d7e
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ plugin::getParameterDisplay(VstInt32 index, char *text)
if (index >= CrapPlug::parameters) return;
Param *p = &params[index];
char display[MAX_PARAM_LEN];
char display[MAX_PARAM_LEN + 1];
switch (p->scale) {
case SCALE_FLOAT:
@ -219,7 +219,7 @@ plugin::getParameterLabel(VstInt32 index, char *text)
if (index >= CrapPlug::parameters) return;
Param *p = &params[index];
char display[MAX_PARAM_LEN];
char display[MAX_PARAM_LEN + 1];
switch (p->scale) {
case SCALE_HZ: