summaryrefslogtreecommitdiff
path: root/data/cydia/encoding.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2010-04-08 19:14:45 +0000
committerJay Freeman <saurik@saurik.com>2010-04-08 19:14:45 +0000
commit0ad7afcea649b8dd91ea2939d24b5d64dfd8f3c6 (patch)
tree97c9ac2476c155e15bab552fd7da125469cde571 /data/cydia/encoding.diff
parentd887e6af6c6d687f7501e7349d957686b6260f1d (diff)
Checkpoint: random patches.
git-svn-id: http://svn.telesphoreo.org/trunk@713 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/cydia/encoding.diff')
-rw-r--r--data/cydia/encoding.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/cydia/encoding.diff b/data/cydia/encoding.diff
new file mode 100644
index 000000000..5b3b5cdf5
--- /dev/null
+++ b/data/cydia/encoding.diff
@@ -0,0 +1,15 @@
+diff -ru cydia-1.0.3032/cydia/Cydia.mm cydia-1.0.3032+iPhone/cydia/Cydia.mm
+--- cydia-1.0.3032/cydia/Cydia.mm 2009-09-09 22:03:03.000000000 +0000
++++ cydia-1.0.3032+iPhone/cydia/Cydia.mm 2009-09-10 03:46:28.000000000 +0000
+@@ -1932,6 +1932,11 @@
+ CYString &rhi(PackageName(rhs, @selector(cyname)));
+ CFStringRef lhn(lhi), rhn(rhi);
+
++ if (lhn == NULL)
++ return rhn == NULL ? NSOrderedSame : NSOrderedAscending;
++ else if (rhn == NULL)
++ return NSOrderedDescending;
++
+ _profile(PackageNameCompare$NumbersLast)
+ if (!lhi.empty() && !rhi.empty()) {
+ UniChar lhc(CFStringGetCharacterAtIndex(lhn, 0));