From 4802c19123d979df82a744c8bcb71f093a0a1166 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 30 Mar 2011 07:27:21 +0000 Subject: [PATCH] Remove obsolete Wildcat_ usage. --- LockScreen.mm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/LockScreen.mm b/LockScreen.mm index 0013094..fc17eba 100644 --- a/LockScreen.mm +++ b/LockScreen.mm @@ -112,9 +112,7 @@ while (false) static Class $CydgetController(objc_getClass("CydgetController")); -MSClassHook(UIWebBrowserView) - -static bool Wildcat_, iOS4; +static bool iOS4; @interface NSString (UIKit) - (NSString *) stringByAddingPercentEscapes; @@ -853,13 +851,6 @@ static void $UIWebViewWebViewDelegate$webView$didClearWindowObject$forFrame$(UIW iOS4 = kCFCoreFoundationVersionNumber >= 550.32; - if ($UIWebBrowserView == nil) { - Wildcat_ = false; - $UIWebBrowserView = objc_getClass("UIWebDocumentView"); - } else { - Wildcat_ = true; - } - int maxproc; size_t size(sizeof(maxproc)); if (sysctlbyname("kern.maxproc", &maxproc, &size, NULL, 0) == -1) -- 2.45.2