From edff28b5ba10557ca43bb872a3af9e39bed1bdb9 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 28 Mar 2011 07:12:51 +0000 Subject: [PATCH] Fix 4.0. --- LockScreen.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LockScreen.mm b/LockScreen.mm index aad919f..c2b8e14 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -1476,7 +1476,7 @@ static void msset_(Type_ &function, const char *name, MSImageRef handle) { nlset(_ZN7WebCore6String8truncateEj, nl, 7); MSImageRef JavaScriptCore(MSGetImageByName("/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore")); - //MSImageRef WebCore(MSGetImageByName("/System/Library/PrivateFrameworks/WebCore.framework/WebCore")); + MSImageRef WebCore(MSGetImageByName("/System/Library/PrivateFrameworks/WebCore.framework/WebCore")); if (_ZN7WebCore6String6appendEPKtj == NULL) msset(_ZN7WebCore6String6appendEPKtj, JavaScriptCore); @@ -1484,9 +1484,9 @@ static void msset_(Type_ &function, const char *name, MSImageRef handle) { if (_ZN7WebCore6String8truncateEj == NULL) msset(_ZN7WebCore6String8truncateEj, JavaScriptCore); - msset(_ZNK7WebCore6String10charactersEv, JavaScriptCore); + msset(_ZNK7WebCore6String10charactersEv, WebCore); msset(_ZN7WebCore6String29charactersWithNullTerminationEv, JavaScriptCore); - msset(_ZNK7WebCore6String6lengthEv, JavaScriptCore); + msset(_ZNK7WebCore6String6lengthEv, WebCore); } + (id) rootViewController { -- 2.45.2