1
0
Fork 0

forward fourth setlistener() arg to _setlistener()

This commit is contained in:
mfranz 2007-10-14 18:03:31 +00:00
parent 7253f8633b
commit 705e4bcaac

View file

@ -71,7 +71,8 @@ interpolate = func {
#
setlistener = func {
if(isa(arg[0], props.Node)) { arg[0] = arg[0]._g; }
var id = _setlistener(arg[0], arg[1], size(arg) > 2 ? arg[2] : 0);
var id = _setlistener(arg[0], arg[1], size(arg) > 2 ? arg[2] : 0,
size(arg) > 3 ? arg[3] : 1);
if(__.log_level <= 2) {
var c = caller(1);
print(sprintf("setting listener #%d in %s, line %s", id, c[2], c[3]))