gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11687: Locally export all imported


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11687: Locally export all imported symbol, fixing bug #28269.
Date: Sat, 12 Dec 2009 11:07:19 +0100
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11687
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sat 2009-12-12 11:07:19 +0100
message:
  Locally export all imported symbol, fixing bug #28269.
modified:
  libcore/parser/SWFMovieDefinition.cpp
=== modified file 'libcore/parser/SWFMovieDefinition.cpp'
--- a/libcore/parser/SWFMovieDefinition.cpp     2009-11-12 12:13:15 +0000
+++ b/libcore/parser/SWFMovieDefinition.cpp     2009-12-12 10:07:19 +0000
@@ -777,7 +777,14 @@
                         "movie '%s'"), symbolName, source->get_url());
                        continue;
         }
-        else if (Font* f = dynamic_cast<Font*>(res.get()))
+
+#ifdef DEBUG_EXPORTS
+        log_debug("Exporting symbol %s imported from source %s",
+            symbolName, source->get_url());
+#endif
+        export_resource(symbolName, res.get());
+
+        if (Font* f = dynamic_cast<Font*>(res.get()))
                {
                        // Add this shared font to the currently-loading movie.
                        add_font(id, f);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]