diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-08 04:41:22 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-03-08 04:41:22 +0000 |
commit | 214f88720ad864ca5ae901fe8a798c2472ceb6b2 (patch) | |
tree | 8c5fe56be383de6f6273a3e3072e7897aeed78cf /externals/grill/vst | |
parent | 02e2217004783f3c23cef4adc872b8ebb9eaff1d (diff) |
""
svn path=/trunk/; revision=458
Diffstat (limited to 'externals/grill/vst')
-rw-r--r-- | externals/grill/vst/src/main.cpp | 2 |
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()); |