summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-20 03:48:34 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-20 03:48:34 -0700
commit407564b5683493323368fbbb22850d67b47e4743 (patch)
treeabd4dcfd7f48c676ff81c6313882942a11ca5013 /MobileCydia.mm
parente1b682c524a0933c77e607a3a30ac7627b66ee46 (diff)
Use System_, not Firmware_, for APT repository.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index b8aca93..25215bd 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -685,7 +685,7 @@ static _H<UIFont> Font18Bold_;
static _H<UIFont> Font22Bold_;
static const char *Machine_ = NULL;
-static NSString *System_ = nil;
+_H<NSString> System_;
static NSString *SerialNumber_ = nil;
static NSString *ChipID_ = nil;
static NSString *BBSNum_ = nil;
@@ -714,7 +714,7 @@ static time_t now_;
bool IsWildcat_;
static CGFloat ScreenScale_;
static NSString *Idiom_;
-_H<NSString> Firmware_;
+static _H<NSString> Firmware_;
static NSString *Major_;
static _H<NSMutableDictionary> SessionData_;
@@ -4621,7 +4621,7 @@ static _H<NSMutableSet> Diversions_;
if (Safari_ != nil)
application = [NSString stringWithFormat:@"Safari/%@ %@", Safari_, application];
if (System_ != nil)
- application = [NSString stringWithFormat:@"Mobile/%@ %@", System_, application];
+ application = [NSString stringWithFormat:@"Mobile/%@ %@", (id) System_, application];
if (Product_ != nil)
application = [NSString stringWithFormat:@"Version/%@ %@", Product_, application];