Branch: Tag:

2017-12-30

2017-12-30 03:52:01 by Martin Nilsson <nilsson@fastmail.com>

Clean up stack in create.

1363:    if (args>3)    if (!image_color_arg(3-args,&alpha))    SIMPLE_ARG_TYPE_ERROR("create",4,"Image.Color"); +  pop_n_elems(args);       push_int(THIS->xsize);    push_int(THIS->ysize);
1379:    push_object(clone_object(image_program,5));       image_layer_set_image(2); -  pop_n_elems(args); +  pop_stack();    }    else if (TYPEOF(Pike_sp[-args]) == T_OBJECT || args>1)    {