]> git.saurik.com Git - winterboard.git/commitdiff
Fix critical/stupid iOS 5 regression in WBMarkup. v0.9.3914
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 13 Jan 2014 01:25:26 +0000 (17:25 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 13 Jan 2014 01:25:26 +0000 (17:25 -0800)
WBMarkup.mm

index 9918a2837255962672a94c9b19a840cff926a693..dc6f9e5c229317fc2ad981d51f62c432bcbd4be6 100644 (file)
@@ -67,9 +67,9 @@ static WBMarkup *SharedMarkup_;
 
 + (void) initialize {
     MSImageRef WebCore(MSGetImageByName("/System/Library/PrivateFrameworks/WebCore.framework/WebCore"));
-    MSHookSymbol(WKViewLockFocus$, "WKViewLockFocus", WebCore);
-    MSHookSymbol(WKViewUnlockFocus$, "WKViewUnlockFocus", WebCore);
-    MSHookSymbol(WKViewDisplayRect$, "WKViewDisplayRect", WebCore);
+    MSHookSymbol(WKViewLockFocus$, "_WKViewLockFocus", WebCore);
+    MSHookSymbol(WKViewUnlockFocus$, "_WKViewUnlockFocus", WebCore);
+    MSHookSymbol(WKViewDisplayRect$, "_WKViewDisplayRect", WebCore);
 
     MSImageRef JavaScriptCore(MSGetImageByName("/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore"));