diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-05-06 22:42:08 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:01 +0000 |
commit | 11108eb618b2b1e5244056d1605ea3e459b07054 (patch) | |
tree | d4dd0ab4dbcb7de8705128c401d3aa65719ea9a9 | |
parent | bbb879fba446d8bf7980e66cc4d9c44c3e23fa32 (diff) |
Subtle code cleanup.
-rw-r--r-- | Cydia.mm | 26 |
1 files changed, 6 insertions, 20 deletions
@@ -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; |