]> git.saurik.com Git - winterboard.git/commitdiff
Do not attempt to theme themes: that is insane.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 16 Oct 2011 07:33:14 +0000 (07:33 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 16 Oct 2011 07:33:14 +0000 (07:33 +0000)
Library.mm

index 37b2334577280098b9fb29e00a6f42ef5e814c2a..cd2e5d07d92d93d380407fa1de61269e050e5d07 100644 (file)
@@ -383,6 +383,9 @@ static NSString *$pathForIcon$(SBApplication *self, NSString *suffix = @"") {
 @implementation NSString (WinterBoard)
 
 - (NSString *) wb$themedPath {
+    if ([self hasPrefix:@"/Library/Themes/"])
+        return self;
+
     if (Debug_)
         NSLog(@"WB:Debug:Bypass(\"%@\")", self);