From: Jay Freeman (saurik) Date: Thu, 26 Nov 2009 08:09:22 +0000 (+0000) Subject: Cache system as 'system' instead of Function. X-Git-Tag: v0.9.432~129 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/cdc80ff2e3ca3411123ee143c03af82bfced69c1 Cache system as 'system' instead of Function. --- diff --git a/Execute.cpp b/Execute.cpp index 806fd39..b781a39 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1429,7 +1429,7 @@ extern "C" void CYSetupContext(JSGlobalContextRef context) { CYSetProperty(context, global, CYJSString("$cyq"), &$cyq); JSObjectRef System(JSObjectMake(context, NULL, NULL)); - CYSetProperty(context, cy, CYJSString("System"), Function); + CYSetProperty(context, cy, CYJSString("System"), System); CYSetProperty(context, global, CYJSString("system"), System); CYSetProperty(context, System, CYJSString("args"), CYJSNull(context));