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. e542b0ede8ba6dc51cf1


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. e542b0ede8ba6dc51cf147179f40799ddb4a83f8
Date: Thu, 26 Aug 2010 08:48:35 +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  e542b0ede8ba6dc51cf147179f40799ddb4a83f8 (commit)
       via  7ab793601c0bd47132804be5b9a636efd1eb664b (commit)
      from  b841ae61e0b499c8fed20403d16f7d47512f3f1d (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=e542b0ede8ba6dc51cf147179f40799ddb4a83f8


commit e542b0ede8ba6dc51cf147179f40799ddb4a83f8
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Aug 26 10:36:00 2010 +0200

    Drop debugging message.

diff --git a/libcore/SWFStream.cpp b/libcore/SWFStream.cpp
index 2feff10..c214bc7 100644
--- a/libcore/SWFStream.cpp
+++ b/libcore/SWFStream.cpp
@@ -440,15 +440,12 @@ void SWFStream::read_string_with_length(unsigned len, 
std::string& to)
     // drop trailing nulls (see swf6/Bejeweled.swf)
     std::string::size_type last = to.find_last_not_of('\0');
     if ( last == std::string::npos ) to.clear();
-    else
-    {
-       ++last;
-       if ( last < len )
-       {
-               // seems common to find null-terminated lenght-equipped 
strings...
-               to.erase(last);
-               log_debug("String %s with length %d had %d trailing NULLs, 
trimmed", to, len, len-last);
-       }
+    else {
+        ++last;
+        if (last < len) {
+            // seems common to find null-terminated lenght-equipped strings...
+            to.erase(last);
+        }
     }
 
 }

http://git.savannah.gnu.org/cgit//commit/?id=7ab793601c0bd47132804be5b9a636efd1eb664b


commit 7ab793601c0bd47132804be5b9a636efd1eb664b
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Aug 26 10:34:03 2010 +0200

    Drop debugging message.

diff --git a/libcore/asobj/flash/display/BitmapData_as.cpp 
b/libcore/asobj/flash/display/BitmapData_as.cpp
index 2f51533..4e73f0e 100644
--- a/libcore/asobj/flash/display/BitmapData_as.cpp
+++ b/libcore/asobj/flash/display/BitmapData_as.cpp
@@ -137,7 +137,6 @@ BitmapData_as::setPixel(size_t x, size_t y, boost::uint32_t 
color) const
 void
 BitmapData_as::updateObjects()
 {
-    log_debug("Updating %d attached objects", _attachedObjects.size());
     std::for_each(_attachedObjects.begin(), _attachedObjects.end(),
             std::mem_fun(&DisplayObject::update));
 }

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

Summary of changes:
 libcore/SWFStream.cpp                         |   15 ++++++---------
 libcore/asobj/flash/display/BitmapData_as.cpp |    1 -
 2 files changed, 6 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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