From c2d448aae3f7cf8e77f0db22751552ceb925ebd9 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 31 Aug 2008 00:25:34 +0000 Subject: [PATCH] A quick fid fix for eric, added thumb support to MS, and got fmil working. --- control | 2 +- makefile | 2 -- prerm.mm | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/control b/control index c1a0189..780c275 100644 --- a/control +++ b/control @@ -3,7 +3,7 @@ Priority: optional Section: Tweaks Maintainer: Jay Freeman (saurik) Architecture: iphoneos-arm -Version: 0.9.2558-1 +Version: 0.9.2559-1 Description: fits even more stuff right down there Name: Five Icon Dock Depends: mobilesubstrate (>= 0.9.2555-1) diff --git a/makefile b/makefile index ec40f4a..d0dcecf 100644 --- a/makefile +++ b/makefile @@ -2,5 +2,3 @@ name := FiveIconDock id := fid control := prerm include ../tweak.mk - -all: prerm diff --git a/prerm.mm b/prerm.mm index 8c38b04..d58d3e8 100644 --- a/prerm.mm +++ b/prerm.mm @@ -45,7 +45,7 @@ int main(int argc, const char *argv[]) { return 0; NSMutableArray *buttonBarRow([buttonBarIconMatrix objectAtIndex:0]); - if (buttonBarRow == nil) + if (buttonBarRow == nil || [buttonBarRow count] < 5) return 0; NSMutableDictionary *fifth([buttonBarRow objectAtIndex:4]); -- 2.45.2