aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAndrew Azores <[email protected]>2014-01-17 11:36:22 -0500
committerAndrew Azores <[email protected]>2014-01-17 11:36:22 -0500
commit4cc1ae82645431a5c1f0958a800e8e5dfc012086 (patch)
tree47bf424ae4bb601ce26829a104fc56b0e60cd9ed /plugin
parent5aa7f2cdfbc59fdc3daede83f3a9a79b423b1cbd (diff)
Fix liveconnect regression from commit ee92f55c69a3
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025764.html * plugin/icedteanp/IcedTeaScriptablePluginObject.cc: (hasMethod) fixed regression from rev 757:ee92f55c69a3
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/IcedTeaScriptablePluginObject.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc
index 416cde6..02c7c25 100644
--- a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc
+++ b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc
@@ -474,7 +474,7 @@ IcedTeaScriptableJavaObject::hasMethod(NPObject *npobj, NPIdentifier name_id)
bool hasMethod = false;
// If object is an array and requested "method" may be a number, check for it first
- if ( scriptable_object->is_object_array ||
+ if ( !scriptable_object->is_object_array ||
(browser_functions.intfromidentifier(name_id) < 0))
{