edje_cc also checks min args correctly for STATE_SET actions

@fix
This commit is contained in:
Mike Blumenkrantz 2014-03-20 19:26:49 -04:00
parent 0f1ccdad09
commit d025f89b2e
1 changed files with 3 additions and 0 deletions

View File

@ -9465,6 +9465,9 @@ st_collections_group_programs_program_action(void)
case EDJE_ACTION_TYPE_SOUND_SAMPLE:
case EDJE_ACTION_TYPE_VIBRATION_SAMPLE:
break;
case EDJE_ACTION_TYPE_STATE_SET:
check_min_arg_count(2);
break;
default:
check_arg_count(3);
}