From: Jay Freeman (saurik) Date: Tue, 11 Sep 2012 16:42:08 +0000 (-0700) Subject: Correct a simple typo in a thrown exception message. X-Git-Tag: v0.9.459~28 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/5d422750fa7d2b7f4b70dc8a58e1426bc5557c20?ds=sidebyside Correct a simple typo in a thrown exception message. --- diff --git a/Execute.cpp b/Execute.cpp index 8c9a48f..f8b70e5 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1019,7 +1019,7 @@ static void All_getPropertyNames(JSContextRef context, JSObjectRef object, JSPro static JSObjectRef Pointer_new(JSContextRef context, JSObjectRef object, size_t count, const JSValueRef arguments[], JSValueRef *exception) { CYTry { if (count != 2) - throw CYJSError(context, "incorrect number of arguments to Functor constructor"); + throw CYJSError(context, "incorrect number of arguments to Pointer constructor"); CYPool pool;