]> git.saurik.com Git - cydia.git/commitdiff
Subtle code cleanup.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 6 May 2008 22:42:08 +0000 (22:42 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:08:01 +0000 (07:08 +0000)
Cydia.mm

index d415970e499470363882e8e3bc26da5a5bb6b7fc..696054e332706dd83562d30ac93a334fa5aff245 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -4061,28 +4061,14 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString
     }
 
     switch (tag) {
-        case 1:
-            [self _setHomePage];
-        break;
-
-        case 2:
-            [self setPage:install_];
-        break;
+        case 1: [self _setHomePage]; break;
 
-        case 3:
-            [self setPage:changes_];
-        break;
+        case 2: [self setPage:install_]; break;
+        case 3: [self setPage:changes_]; break;
+        case 4: [self setPage:manage_]; break;
+        case 5: [self setPage:search_]; break;
 
-        case 4:
-            [self setPage:manage_];
-        break;
-
-        case 5:
-            [self setPage:search_];
-        break;
-
-        default:
-            _assert(false);
+        default: _assert(false);
     }
 
     tag_ = tag;