]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
bump policy to 3.8.3 as we have no outdated manpages anymore
[apt.git] / apt-pkg / indexfile.cc
index cf238eb4a4ea480ee0478ce4b8c951fe3ce87ce0..08f71feb0e81be15b43f3234ab20fdbe85a484a7 100644 (file)
@@ -41,7 +41,6 @@ pkgIndexFile::Type *pkgIndexFile::Type::GetType(const char *Type)
    return 0;
 }
                                                                        /*}}}*/
-    
 // IndexFile::ArchiveInfo - Stub                                       /*{{{*/
 // ---------------------------------------------------------------------
 /* */
@@ -113,8 +112,8 @@ string pkgIndexFile::LanguageCode()
      // we have a mapping of the language codes that contains all the language
      // codes that need the country code as well 
      // (like pt_BR, pt_PT, sv_SE, zh_*, en_*)
-     char *need_full_langcode[] = { "pt","sv","zh","en", NULL };
-     for(char **s = need_full_langcode;*s != NULL; s++)
+     const char *need_full_langcode[] = { "pt","sv","zh","en", NULL };
+     for(const char **s = need_full_langcode;*s != NULL; s++)
        if(lang.find(*s) == 0)
           return lang.substr(0,5);