implement "this" macro handler for macros that may be handled by any hopobject

This commit is contained in:
hns 2001-01-30 18:38:29 +00:00
parent 926063cfac
commit 8cdb43c6ac

View file

@ -185,7 +185,7 @@ public class Skin {
// not a macro handled by global - need to find handler object
if (handlerNode != null) {
// was called with this object - check it or its parents for matching prototype
if (!handler.equalsIgnoreCase ("hopobject") && !handler.equalsIgnoreCase (handlerNode.getPrototypeName ())) {
if (!handler.equalsIgnoreCase ("this") && !handler.equalsIgnoreCase (handlerNode.getPrototypeName ())) {
// the handler object is not what we want
INode n = handlerNode.getNode();
while (n != null) {