From 11108eb618b2b1e5244056d1605ea3e459b07054 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 6 May 2008 22:42:08 +0000 Subject: [PATCH] Subtle code cleanup. --- Cydia.mm | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index d415970e..696054e3 100644 --- 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; -- 2.45.2