X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a8cdfb5aaa972f8df0016381ea7ad1be5c38a3d1..3bb98bee11b38df0264099f3c9e858880759999d:/apt-pkg/indexfile.cc?ds=inline diff --git a/apt-pkg/indexfile.cc b/apt-pkg/indexfile.cc index fad38772b..ca11fc111 100644 --- a/apt-pkg/indexfile.cc +++ b/apt-pkg/indexfile.cc @@ -8,10 +8,6 @@ ##################################################################### */ /*}}}*/ // Include Files /*{{{*/ -#ifdef __GNUG__ -#pragma implementation "apt-pkg/indexfile.h" -#endif - #include #include #include @@ -75,7 +71,7 @@ string pkgIndexFile::SourceInfo(pkgSrcRecords::Parser const &Record, /* */ bool pkgIndexFile::TranslationsAvailable() { - const string Translation = _config->Find("APT::Acquire::Translation", "environment"); + const string Translation = _config->Find("APT::Acquire::Translation"); if (Translation.compare("none") != 0) return CheckLanguageCode(LanguageCode().c_str()); @@ -107,7 +103,7 @@ bool pkgIndexFile::CheckLanguageCode(const char *Lang) /* return the language code */ string pkgIndexFile::LanguageCode() { - const string Translation = _config->Find("APT::Acquire::Translation", "environment"); + const string Translation = _config->Find("APT::Acquire::Translation"); if (Translation.compare("environment") == 0) {