fix definition of PRESET event

This commit is contained in:
niels
2015-03-02 20:45:02 +01:00
parent 83894fe755
commit 71b27962a9
2 changed files with 3 additions and 17 deletions

View File

@@ -1298,7 +1298,7 @@ static int vj_event_verify_args( int *fx, int net_id , int arglen, int np, int p
}
else
{
if( arglen <= 3 )
if( arglen < 3 )
{
dump_arguments_(net_id, arglen,np,prefixed, fmt );
return 0;

View File

@@ -1476,22 +1476,8 @@ void vj_init_vevo_events(void)
-1,
"Effect ID",
0,
"Parameter 0",
0,
"Parameter 1",
0,
"Parameter 2",
0,
"Parameter 3",
0,
"Parameter 4",
0,
"Parameter 5",
0,
"Parameter 6",
0,
"Parameter 7",
0,
"space separated value string",
NULL,
NULL );
index_map_[VIMS_CHAIN_ENTRY_SET_ARG_VAL] = _new_event(