From: Jay Freeman (saurik) Date: Sun, 31 Aug 2008 00:25:34 +0000 (+0000) Subject: A quick fid fix for eric, added thumb support to MS, and got fmil working. X-Git-Tag: v0.9.2559^0 X-Git-Url: https://git.saurik.com/fiveicondock.git/commitdiff_plain/c2d448aae3f7cf8e77f0db22751552ceb925ebd9 A quick fid fix for eric, added thumb support to MS, and got fmil working. --- 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]);