From: Jay Freeman (saurik) Date: Sat, 15 Sep 2012 06:14:06 +0000 (-0700) Subject: Correct a simple typo in a thrown exception message. X-Git-Tag: v0.9.460~14 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/767e8255044f9a52cf1f91702cea36c9260853ce?hp=5171481534a3cbd5e7e4a563ee97c335ff4bf909 Correct a simple typo in a thrown exception message. --- diff --git a/Execute.cpp b/Execute.cpp index 781b795..4f7358a 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -1091,7 +1091,7 @@ static JSValueRef Type_callAsFunction(JSContextRef context, JSObjectRef object, static JSObjectRef Type_callAsConstructor(JSContextRef context, JSObjectRef object, size_t count, const JSValueRef arguments[], JSValueRef *exception) { CYTry { if (count != 0) - throw CYJSError(context, "incorrect number of arguments to type cast function"); + throw CYJSError(context, "incorrect number of arguments to Type allocator"); Type_privateData *internal(reinterpret_cast(JSObjectGetPrivate(object))); sig::Type *type(internal->type_);