summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-08-13 10:00:37 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:58 +0000
commit9ef18597071e5514e45c9de25d78f8f162a2ea70 (patch)
tree65a7a42ca9cac6b7b7b78a19bec2d1148d882077 /Cydia.mm
parent35bf217f57c435980e1b6cbf2ff60c0451c30e14 (diff)
Re-fixed the user agent.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cydia.mm b/Cydia.mm
index f00d4d7..18dc679 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -3817,11 +3817,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
];
if (Safari_ != nil)
- application = [NSString stringWithFormat:@"Safari/%@ %@", application, Safari_];
+ application = [NSString stringWithFormat:@"Safari/%@ %@", Safari_, application];
if (Build_ != nil)
- application = [NSString stringWithFormat:@"Mobile/%@ %@", application, Build_];
+ application = [NSString stringWithFormat:@"Mobile/%@ %@", Build_, application];
if (Product_ != nil)
- application = [NSString stringWithFormat:@"Version/%@ %@", application, Product_];
+ application = [NSString stringWithFormat:@"Version/%@ %@", Product_, application];
[webview setApplicationNameForUserAgent:application];
} return self;