[Top][All Lists]

[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-2248-ge8b111c
Date: Wed, 13 Jan 2016 15:52:41 +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  e8b111c3ca89eb23624d5c994fc4dff9b787d161 (commit)
      from  6671ff0f7c0c9d35d4432001a64f2c132f70158f (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 -----------------------------------------------------------------

commit e8b111c3ca89eb23624d5c994fc4dff9b787d161
Author: Nutchanon Wetchasit <address@hidden>
Date:   Wed Jan 13 16:50:36 2016 +0100

    Allow single-argument invocation.

diff --git a/libcore/asobj/flash/external/ExternalInterface_as.cpp 
index 04c12bf..56274bc 100644
--- a/libcore/asobj/flash/external/ExternalInterface_as.cpp
+++ b/libcore/asobj/flash/external/ExternalInterface_as.cpp
@@ -286,7 +286,7 @@ externalinterface_call(const fn_call& fn)
         return val;
-    if (fn.nargs > 1) {
+    if (fn.nargs >= 1) {
         const as_value& methodName_as = fn.arg(0);
         const std::string methodName = methodName_as.to_string();
         const std::vector<as_value>& args = fn.getArgs();


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


reply via email to

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