From aa6529f22f36a5d152b26aa93279eee8dc1da597 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 8 May 2010 15:42:06 +0000 Subject: [PATCH] I continue to hate SummerBoard. --- Library.mm | 4 ++-- control | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library.mm b/Library.mm index 831323e..74561d5 100644 --- a/Library.mm +++ b/Library.mm @@ -1233,7 +1233,7 @@ MSHook(void, SBIconLabel$drawRect$, SBIconLabel *self, SEL sel, CGRect rect) { static Ivar drawMoreLegibly = object_getInstanceVariable(self, "_drawMoreLegibly", NULL); - BOOL docked; + int docked; Ivar ivar = object_getInstanceVariable(self, "_inDock", reinterpret_cast(&docked)); docked = (docked & (ivar_getOffset(ivar) == ivar_getOffset(drawMoreLegibly) ? 0x2 : 0x1)) != 0; @@ -1702,7 +1702,7 @@ extern "C" void WBInitialize() { if ([Info_ objectForKey:@"UndockedIconLabels"] == nil) [Info_ setObject:[NSNumber numberWithBool:( - Papered_ || + !Papered_ || [Info_ objectForKey:@"DockedIconLabelStyle"] != nil || [Info_ objectForKey:@"UndockedIconLabelStyle"] != nil )] forKey:@"UndockedIconLabels"]; diff --git a/control b/control index 7803075..d4f631d 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: optional Section: System Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.3185-1 +Version: 0.9.3186-1 Description: more powerful, open-source SummerBoard Name: WinterBoard Depends: mobilesubstrate (>= 0.9.2958-1), killall, preferenceloader, libhide (>= 2.0.4), findutils, net.howett.pincrush (>= 0.0.1-23) | pincrush -- 2.45.2