X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/7f9c29fac1c8910ad5d8f56eb310c7956a424684..cb9c2100cb472c49a84facf7ba2ff6a0c65c6f02:/internals.h diff --git a/internals.h b/internals.h index a34c29ff..62b46e26 100644 --- a/internals.h +++ b/internals.h @@ -4,6 +4,7 @@ } - (BOOL) respondsToSelector:(SEL)selector { - fprintf(stderr, "[%s]R-%s\n", class_getName(self->isa), sel_getName(selector)); - return [super respondsToSelector:selector]; + BOOL responds = [super respondsToSelector:selector]; + fprintf(stderr, "[%s]R%c%s\n", class_getName(self->isa), (responds ? '+' : '-'), sel_getName(selector)); + return responds; }