]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/Internals.h
Fixed memory retain issue in _H<> and a crash bug in sources_ (causing nils).
[cydia.git] / UICaboodle / Internals.h
index a34c29ff1f3dae96276ac5f43320a6f5b259fa6a..62b46e267ed7e4e23bf06ce5c5ed46394da36de7 100644 (file)
@@ -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;
 }