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. 835db039619fe50c1788


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 835db039619fe50c178864edc608e8c8996a899f
Date: Fri, 19 Nov 2010 22:14:02 +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  835db039619fe50c178864edc608e8c8996a899f (commit)
      from  92f1413a0937a2c9f2e38317b168030ce76b4704 (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=835db039619fe50c178864edc608e8c8996a899f


commit 835db039619fe50c178864edc608e8c8996a899f
Author: Sandro Santilli <address@hidden>
Date:   Fri Nov 19 23:13:32 2010 +0100

    Tell more about "Unexpected color value" (which is likely another case in 
which we do not want to log an _error_)

diff --git a/libcore/TextField.cpp b/libcore/TextField.cpp
index 0b0ac7f..80e1703 100644
--- a/libcore/TextField.cpp
+++ b/libcore/TextField.cpp
@@ -1504,7 +1504,12 @@ TextField::handleChar(std::wstring::const_iterator& it,
                             if (attloc != attributes.end()) {
                                 std::string hexval(attloc->second);
                                 if (hexval.empty() || hexval[0] != '#') {
-                                    log_error("Unexpected color value");
+                                    // FIXME: should this be a log_aserror
+                                    //        or log_unimpl ? It is triggered
+                                    //        by TextFieldHTML.as
+                                    log_error("Unexpected value '%s' in "
+                                        "TextField font color attribute",
+                                        hexval);
                                 }
                                 else {
                                     hexval.erase(0, 1);

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

Summary of changes:
 libcore/TextField.cpp |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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