aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vst/src/vstparam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vst/src/vstparam.cpp')
-rw-r--r--externals/grill/vst/src/vstparam.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/externals/grill/vst/src/vstparam.cpp b/externals/grill/vst/src/vstparam.cpp
index 30515b23..bb80263e 100644
--- a/externals/grill/vst/src/vstparam.cpp
+++ b/externals/grill/vst/src/vstparam.cpp
@@ -16,6 +16,7 @@ static void striptrail(char *txt)
for(int i = strlen(txt)-1; i >= 0; --i)
// cast to unsigned char since isspace functions don't want characters like 0x80 = -128
if(isspace(((unsigned char *)txt)[i])) txt[i] = 0;
+ else break;
}
void VSTPlugin::GetParamName(int numparam,char *name) const