[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_fi
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2247-g6671ff0 |
Date: |
Mon, 18 Jan 2016 12:48:06 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jan 18, 2016 at 02:25:58AM -0700, Richard Wilbur wrote:
> On Tue, Jan 12, 2016 at 5:58 AM, Sandro Santilli <address@hidden> wrote:
> [...]
> > diff --git a/libcore/movie_root.cpp b/libcore/movie_root.cpp
> > index 3c643e9..c9ce412 100644
> > --- a/libcore/movie_root.cpp
> > +++ b/libcore/movie_root.cpp
> > @@ -1602,7 +1602,7 @@ movie_root::processInvoke(ExternalInterface::invoke_t
> > *invoke)
> > // If the variable exists, GetVariable returns a string
> > // representation of its value. Variable with undefined
> > // or null value counts as exist too.
> > - ss << ExternalInterface::toXML(val.to_string());
> > + ss <<
> > ExternalInterface::toXML(val.to_string(_vm.getSWFVersion()));
> > ss << std::endl;
> > } else {
> > // If the variable does not exist, GetVariable sends null value
>
> So I see the change of the invocation of val.to_string() to include
> the SWF version but where is the change in the to_string() method to
> accept the SWF version and return empty string for 'undefined' val
> when version < 7, otherwise for 'undefined' val return 'undefined'?
It was already supported, since a long time.
--strk;