be a little more paranoid

This commit is contained in:
Bill Currie 2010-01-13 06:33:03 +00:00 committed by Jeff Teunissen
parent a18b01973e
commit 00f9d48f10

View file

@ -918,7 +918,8 @@ rua_obj_msg_sendv (progs_t *pr)
PR_GetString (pr, pr->selector_names[op->sel_id]));
if (count > 6)
count = 6;
memcpy (pr->pr_params[2], params, count * 4 * pr->pr_param_size);
if (count > 0)
memcpy (pr->pr_params[2], params, count * 4 * pr->pr_param_size);
PR_CallFunction (pr, imp);
}