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


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. e6898df7bd6e990f8cba8d7f899d4af50c78ebab
Date: Sun, 12 Dec 2010 14:11:59 +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  e6898df7bd6e990f8cba8d7f899d4af50c78ebab (commit)
      from  e302d193c39d8556a7936d291a1063adcb289997 (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=e6898df7bd6e990f8cba8d7f899d4af50c78ebab


commit e6898df7bd6e990f8cba8d7f899d4af50c78ebab
Author: Benjamin Wolsey <address@hidden>
Date:   Sun Dec 12 15:12:05 2010 +0100

    Fix warning.

diff --git a/libcore/DisplayObject.cpp b/libcore/DisplayObject.cpp
index 0f7380d..9f3f31e 100644
--- a/libcore/DisplayObject.cpp
+++ b/libcore/DisplayObject.cpp
@@ -836,8 +836,7 @@ DisplayObject::getMovieInfo(InfoTree& tr, 
InfoTree::iterator it)
     tr.append_child(it, std::make_pair(_("Depth"), os.str()));
 
     /// Don't add if the DisplayObject has no ratio value
-    if (get_ratio() >= 0)
-    {
+    if (get_ratio() > 0) {
         os.str("");
         os << get_ratio();
         tr.append_child(it, std::make_pair(_("Ratio"), os.str()));

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

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


hooks/post-receive
-- 
Gnash



reply via email to

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