[Swfdec-commits] swfdec/swfdec_as_interpret.c

Benjamin Otte company at kemper.freedesktop.org
Wed Nov 5 04:48:39 PST 2008


 swfdec/swfdec_as_interpret.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fee8626f8a56bf2a4e65c93acf0b90b64c81b698
Author: Benjamin Otte <otte at gnome.org>
Date:   Wed Nov 5 13:48:12 2008 +0100

    actually set the variable here
    
    Wonder why the testsuite doesn't catch this...

diff --git a/swfdec/swfdec_as_interpret.c b/swfdec/swfdec_as_interpret.c
index ee80921..e0ac09f 100644
--- a/swfdec/swfdec_as_interpret.c
+++ b/swfdec/swfdec_as_interpret.c
@@ -516,8 +516,10 @@ swfdec_action_lookup_object (SwfdecAsContext *cx, SwfdecAsObject *o, const char
 	GSList *walk;
 	for (walk = cx->frame->scope_chain; walk; walk = walk->next) {
 	  o = walk->data;
-	  if (o->movie)
+	  if (o->movie) {
+	    movie = SWFDEC_MOVIE (o->relay);
 	    break;
+	  }
 	}
 	if (walk == NULL)
 	  movie = swfdec_as_frame_get_target (cx->frame);


More information about the Swfdec-commits mailing list