]> git.saurik.com Git - cycript.git/commitdiff
Preempt accidental fall-through setting properties.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 2 Jul 2012 07:05:49 +0000 (00:05 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 2 Jul 2012 07:05:49 +0000 (00:05 -0700)
ObjectiveC/Library.mm

index e7ed92d5654fff47b33e3a350df7951cda0dffd7..2b494db9857f162496c43f76e34d3ebc02b2d124 100644 (file)
@@ -1786,6 +1786,7 @@ static bool Instance_setProperty(JSContextRef context, JSObjectRef object, JSStr
         if (CYImplements(self, _class, sel, false)) {
             JSValueRef arguments[1] = {value};
             CYSendMessage(pool, context, self, NULL, sel, 1, arguments, false, exception);
+            return true;
         }
 
     if (CYInternal *internal = [CYInternal set:self inContext:context]) {