gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1185-g28d4449
Date: Sun, 18 Sep 2011 08:13:06 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  28d4449ba9228cbb3d17a579bef13f856a70e64f (commit)
      from  aaa3f2cabc126384802337c1c8f86a4c8c895b38 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=28d4449ba9228cbb3d17a579bef13f856a70e64f


commit 28d4449ba9228cbb3d17a579bef13f856a70e64f
Author: Benjamin Wolsey <address@hidden>
Date:   Sun Sep 18 10:09:45 2011 +0200

    Fix null pointer dereference.
    
    I introduced it during Button refactoring.

diff --git a/libcore/Button.cpp b/libcore/Button.cpp
index fec8767..4cc267c 100644
--- a/libcore/Button.cpp
+++ b/libcore/Button.cpp
@@ -960,11 +960,11 @@ Button::getMovieInfo(InfoTree& tr, InfoTree::iterator it)
             std::make_pair(_("Button state"), os.str()));
     
     os.str("");
-    os << _stateCharacters.size();
+    os << actChars.size();
     localIter = tr.append_child(selfIt, std::make_pair(_("Action characters"),
             os.str()));
 
-    std::for_each(_stateCharacters.begin(), _stateCharacters.end(),
+    std::for_each(actChars.begin(), actChars.end(),
             boost::bind(&DisplayObject::getMovieInfo, _1, tr, localIter)); 
 
     return selfIt;

-----------------------------------------------------------------------

Summary of changes:
 libcore/Button.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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