On Thu, Mar 22, 2007 at 10:37:46PM +0000, Bastiaan Jacques wrote:

>      if (fn.nargs > 0) {
> -     const char *text = 
> fn.env->bottom(fn.first_arg_bottom_index).to_string();
> +     const char *text = fn.arg(0).to_string();

One step forward is always passing an as_environment to to_*_string().
In that case any user-defined toString method will be invoked, as it should.

--strk;


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to