From: Matthias Braun Date: Wed, 24 Nov 2004 00:44:45 +0000 (+0000) Subject: set package name before setting up directories X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3befbfa7b857fbb7b8e3000ab968a75b5787f8bc;p=supertux.git set package name before setting up directories SVN-Revision: 2165 --- diff --git a/lib/app/setup.cpp b/lib/app/setup.cpp index 39565696a..ba520c096 100644 --- a/lib/app/setup.cpp +++ b/lib/app/setup.cpp @@ -256,12 +256,12 @@ void Setup::init(const std::string& _package_name, const std::string& _package_symbol_name, const std::string& _package_version) { - directories(); - dictionary_manager.add_directory(datadir + "/locale"); - package_name = _package_name; - package_symbol_name = _package_symbol_name; + package_symbol_name = _package_symbol_name; package_version = _package_version; + + directories(); + dictionary_manager.add_directory(datadir + "/locale"); } /* --- SETUP --- */