[qwaq] Pass the correct selector when listeners respond

This is actually an old bug in qwaq that was masked by v6p progs
parameter passing: it was just luck that event got put in the correct
parameter and not trampled until the responder saw it. Ruamoko progs,
however, simply lost the event entirely because it never got explicitly
passed by the listener implementation.
This commit is contained in:
Bill Currie 2022-02-05 19:22:08 +09:00
parent ab8692bd96
commit f4b81d30b0

View file

@ -90,7 +90,7 @@
-(void)respond: (void *) caller_data withObject:(void *)anObject
{
[listeners makeObjectsPerformSelector: @selector (respond:)
[listeners makeObjectsPerformSelector: @selector (respond:withObject:)
withObject: caller_data
withObject: anObject];
}