From: Jay Freeman (saurik) Date: Fri, 8 Jun 2012 09:51:13 +0000 (-0700) Subject: Add missing $cym as a bound variable in CYCategory. X-Git-Tag: v0.9.457~2 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/b639f46ddbb1709551093894de01802d818ca30f?ds=sidebyside Add missing $cym as a bound variable in CYCategory. --- diff --git a/ObjectiveC/Replace.cpp b/ObjectiveC/Replace.cpp index fa8b003..3e267ae 100644 --- a/ObjectiveC/Replace.cpp +++ b/ObjectiveC/Replace.cpp @@ -45,7 +45,7 @@ static CYExpression *MessageType(CYContext &context, CYExpression *type, CYMessa CYStatement *CYCategory::Replace(CYContext &context) { CYVariable *cyc($V("$cyc")), *cys($V("$cys")); - return $E($C1($F(NULL, $P5($L("$cys"), $L("$cyp"), $L("$cyc"), $L("$cyn"), $L("$cyt")), $$->* + return $E($C1($F(NULL, $P6($L("$cys"), $L("$cyp"), $L("$cyc"), $L("$cyn"), $L("$cyt"), $L("$cym")), $$->* $E($ CYAssign($V("$cyp"), $C1($V("object_getClass"), cys)))->* $E($ CYAssign(cyc, cys))->* $E($ CYAssign($V("$cym"), $C1($V("object_getClass"), cyc)))->*