X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5f3e0a63677aea3c3619b747eaabb42b32d825c2..a44aeb52f0476ed56feff82b1cfd2fa84e7a1223:/apt-pkg/indexfile.cc 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) {