]> git.saurik.com Git - fiveicondock.git/commitdiff
A quick fid fix for eric, added thumb support to MS, and got fmil working. v0.9.2559
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 31 Aug 2008 00:25:34 +0000 (00:25 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 31 Aug 2008 00:25:34 +0000 (00:25 +0000)
control
makefile
prerm.mm

diff --git a/control b/control
index c1a0189dfa59e607ecc5e5491ff0da3683ff95fe..780c2750812337d47083399f650cfe0c1199f124 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: optional
 Section: Tweaks
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 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)
index ec40f4a9ab96ee9da07542393919958dae07eb6f..d0dcecf27812b3a01814d3516941fcb9836248ed 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,5 +2,3 @@ name := FiveIconDock
 id := fid
 control := prerm
 include ../tweak.mk
-
-all: prerm
index 8c38b04bdf97c5a0e6d4c0f332fce608e76f38a8..d58d3e82056f982f6c226dfdf171990b0bd8b6c6 100644 (file)
--- 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]);