diff options
author | Jay Freeman <saurik@saurik.com> | 2009-04-27 10:05:44 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-04-27 10:05:44 +0000 |
commit | 0ab69dd9f7b48237939e03b775fb7b41d3b2438d (patch) | |
tree | 4ff087aaff14b346d8446b6d0ef53c986454c0f8 /data/apt7/longdesc.diff | |
parent | a3d69f9e957d210a1b7415ed3d2621d34be48c92 (diff) |
Starting factor of apt7.
git-svn-id: http://svn.telesphoreo.org/trunk@606 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/apt7/longdesc.diff')
-rw-r--r-- | data/apt7/longdesc.diff | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/data/apt7/longdesc.diff b/data/apt7/longdesc.diff deleted file mode 100644 index d2cd4bbbe..000000000 --- a/data/apt7/longdesc.diff +++ /dev/null @@ -1,17 +0,0 @@ -diff -ru apt-0.7.20.2/apt-pkg/deb/debrecords.cc apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.cc ---- apt-0.7.20.2/apt-pkg/deb/debrecords.cc 2009-04-20 08:54:09.000000000 +0000 -+++ apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.cc 2009-04-20 17:26:22.000000000 +0000 -@@ -111,10 +122,9 @@ - string orig, dest; - char *codeset = nl_langinfo(CODESET); - -- if (!Section.FindS("Description").empty()) -- orig = Section.FindS("Description").c_str(); -- else -- orig = Section.FindS(("Description-" + pkgIndexFile::LanguageCode()).c_str()).c_str(); -+ orig = Section.FindS("Description"); -+ if (orig.empty()) -+ orig = Section.FindS(("Description-" + pkgIndexFile::LanguageCode()).c_str()); - - if (strcmp(codeset,"UTF-8") != 0) { - UTF8ToCodeset(codeset, orig, &dest); |