]> git.saurik.com Git - winterboard.git/commitdiff
As reported by thekirbylover, UISounds stack in reverse order.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 14 Mar 2012 06:37:39 +0000 (06:37 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 14 Mar 2012 06:37:39 +0000 (06:37 +0000)
Library.mm

index 8c76a03998b976763c5fcecbe51bb16a318f56af..676a2572e1eac05c8e267837bd52b6f7054b380d 100644 (file)
@@ -1811,7 +1811,7 @@ MSHook(bool, _Z24GetFileNameForThisActionmPcRb, unsigned long a0, char *a1, bool
                 NSString *path([NSString stringWithFormat:@"%@/UISounds/%@", theme, file]);
                 if ([Manager_ fileExistsAtPath:path]) {
                     strcpy(a1, [path UTF8String]);
-                    continue;
+                    break;
                 }
             }
         }