From: Jay Freeman (saurik) Date: Mon, 13 Jan 2014 01:25:26 +0000 (-0800) Subject: Fix critical/stupid iOS 5 regression in WBMarkup. X-Git-Tag: v0.9.3914^0 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/3925268e1a923acde83ef05874df89c7949bb7c6 Fix critical/stupid iOS 5 regression in WBMarkup. --- diff --git a/WBMarkup.mm b/WBMarkup.mm index 9918a28..dc6f9e5 100644 --- a/WBMarkup.mm +++ b/WBMarkup.mm @@ -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"));