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: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-2257-g5dd3e01
Date: Sat, 06 Feb 2016 11:59:55 +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  5dd3e016bef83cc0368fa1fdca8ffcb58d811e89 (commit)
      from  b628b4f9d6a738ed8c58f683bd45ebb1c9decdb8 (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=5dd3e016bef83cc0368fa1fdca8ffcb58d811e89


commit 5dd3e016bef83cc0368fa1fdca8ffcb58d811e89
Author: Nutchanon Wetchasit <address@hidden>
Date:   Sat Feb 6 12:59:40 2016 +0100

    Allow MovieClip.lineStyle(undefined) to disable line drawing
    
    See bug #45731 <https://savannah.gnu.org/bugs/?45731>

diff --git a/libcore/asobj/MovieClip_as.cpp b/libcore/asobj/MovieClip_as.cpp
index 391f037..5b3eb3e 100644
--- a/libcore/asobj/MovieClip_as.cpp
+++ b/libcore/asobj/MovieClip_as.cpp
@@ -1494,7 +1494,7 @@ movieclip_lineStyle(const fn_call& fn)
 {
     MovieClip* movieclip = ensure<IsDisplayObject<MovieClip> >(fn);
 
-    if (!fn.nargs) {
+    if (!fn.nargs || fn.arg(0).is_undefined()) {
         movieclip->graphics().resetLineStyle();
         return as_value();
     }

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

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


hooks/post-receive
-- 
Gnash



reply via email to

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