aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/vst/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/vst/src/main.cpp b/externals/grill/vst/src/main.cpp
index 328f318a..a1a66fb6 100644
--- a/externals/grill/vst/src/main.cpp
+++ b/externals/grill/vst/src/main.cpp
@@ -217,7 +217,7 @@ vst::vst(I argc,const A *argv):
AddInSignal(GetAInt(argv[0]));
AddOutSignal(GetAInt(argv[1]));
- if(!ms_plug(argc-2,argv+2)) InitProblem();
+ if(argc >= 3 && !ms_plug(argc-2,argv+2)) InitProblem();
}
else {
post("%s - syntax: vst~ inputs outputs [plug]",thisName());